Skip to content

fix(core/menu|content): align menu button and content margins to align with figma#2522

Open
lakshmi-priya-b wants to merge 4 commits into
mainfrom
fix-4151/align-menu-top-margin
Open

fix(core/menu|content): align menu button and content margins to align with figma#2522
lakshmi-priya-b wants to merge 4 commits into
mainfrom
fix-4151/align-menu-top-margin

Conversation

@lakshmi-priya-b
Copy link
Copy Markdown
Collaborator

@lakshmi-priya-b lakshmi-priya-b commented Apr 29, 2026

💡 What is the current behavior?

When ix-pane and ix-menu are used together, the collapse buttons are misaligned.

  1. The top margin for the menu expand/collapse button is 8px (0.5rem) which mismatches the Figma spec of 12px.

  2. The total height of the menu is not maintained 56px while updating the margin buttom according to the new figma.

  3. The ix-content top padding is 24px (1.5rem) instead of 12px, meaning the content header does not align with the menu button at the same vertical position.

  4. The gap between the content header and the content body is also mismatching with figma.

JIRA : [IX-4151]

🆕 What is the new behavior?

All four misalignment were handled and now it is maintained according to the figma

🏁 Checklist

A pull request can only be merged if all of these conditions are met (where applicable):

  • 🦮 Accessibility (a11y) features were implemented
  • 🗺️ Internationalization (i18n) - no hard coded strings
  • 📲 Responsiveness - components handle viewport changes and content overflow gracefully
  • 📕 Add or update a Storybook story
  • 📄 Documentation was reviewed/updated siemens/ix-docs
  • 🧪 Unit tests were added/updated and pass (pnpm test)
  • 📸 Visual regression tests were added/updated and pass (Guide)
  • 🧐 Static code analysis passes (pnpm lint)
  • 🏗️ Successful compilation (pnpm build, changes pushed)

👨‍💻 Help & support

@changeset-bot
Copy link
Copy Markdown

changeset-bot Bot commented Apr 29, 2026

🦋 Changeset detected

Latest commit: 7c57dcc

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 5 packages
Name Type
@siemens/ix Patch
@siemens/ix-angular Patch
@siemens/ix-docs Patch
@siemens/ix-react Patch
@siemens/ix-vue Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

Copy link
Copy Markdown
Contributor

@gemini-code-assist gemini-code-assist Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request adjusts the top margin of the menu buttons in menu.scss to align with Figma designs. Feedback indicates that a changeset is required for this user-facing styling change, which should include a reference to Jira issue IX-4151. Additionally, the pull request title needs to be corrected to include a space after the colon to comply with the repository's naming convention.

Comment thread packages/core/src/components/menu/menu.scss
Comment thread packages/core/src/components/menu/menu.scss
@lakshmi-priya-b lakshmi-priya-b changed the title fix(core/menu):align menu button top margin with figma fix(core/menu): align menu button top margin with figma Apr 29, 2026
@lakshmi-priya-b lakshmi-priya-b changed the title fix(core/menu): align menu button top margin with figma fix(core/menu|content): align menu button and content margins to align with figma May 5, 2026
@lakshmi-priya-b lakshmi-priya-b force-pushed the fix-4151/align-menu-top-margin branch from 4327e38 to 30c90bb Compare May 13, 2026 09:58
@lakshmi-priya-b lakshmi-priya-b force-pushed the fix-4151/align-menu-top-margin branch from 30c90bb to ec9b7ed Compare May 13, 2026 11:53
@lakshmi-priya-b lakshmi-priya-b marked this pull request as ready for review May 14, 2026 05:12

.menu-buttons > :last-child {
margin-bottom: 1rem;
margin-bottom: 0.75rem;
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Although changing the top margin is correct in Figma the bottom margin is still 16px

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Bottom margin has been updated according to the latest Figma design changes for the expand/collapse menu, reducing it from 60px to 56px to align consistently with the pane and breadcrumb spacing, as specified in user story: IX-3872.

The changes have been implemented based on the Figma design attached in the ticket [IX-3872]:
https://www.figma.com/design/6kx7Knql4UZo255fwk0gXq/Application-menu?node-id=2023-2349&m=dev

@netlify
Copy link
Copy Markdown

netlify Bot commented May 22, 2026

Deploy Preview for ix-storybook ready!

Name Link
🔨 Latest commit 7c57dcc
🔍 Latest deploy log https://app.netlify.com/projects/ix-storybook/deploys/6a104329bbe6f000080168cf
😎 Deploy Preview https://deploy-preview-2522--ix-storybook.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
🤖 Make changes Run an agent on this branch

To edit notification comments on pull requests, go to your Netlify project configuration.

@sonarqubecloud
Copy link
Copy Markdown

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants