Skip to content

Sidebar: Change the word-break to normal to handle multi-line item names - #2481

Open
sofiacarvalho-ifx wants to merge 3 commits into
masterfrom
2475-sidebar-handle-multi-line-navigation-item-names
Open

Sidebar: Change the word-break to normal to handle multi-line item names#2481
sofiacarvalho-ifx wants to merge 3 commits into
masterfrom
2475-sidebar-handle-multi-line-navigation-item-names

Conversation

@sofiacarvalho-ifx

@sofiacarvalho-ifx sofiacarvalho-ifx commented Aug 25, 2026

Copy link
Copy Markdown
Collaborator

By creating this pull request you agree to the terms in CONTRIBUTING.md.
https://github.com/Infineon/.github/blob/master/CONTRIBUTING.md
--- DO NOT DELETE ANYTHING ABOVE THIS LINE ---

CONTRIBUTING.md also tells you what to expect in the PR process.

Description:

  • Changed the word-break to normal to handle multi-line item names

Reference:
#2475

📦 Published PR as canary version: 40.7.0--canary.2481.34226755075.0

✨ Test out this PR locally via:

npm install example-generator@40.7.0--canary.2481.34226755075.0
npm install angular-module-example@40.7.0--canary.2481.34226755075.0
npm install angular-standalone-example@40.7.0--canary.2481.34226755075.0
npm install html-cdn-example@40.7.0--canary.2481.34226755075.0
npm install html-vite-example@40.7.0--canary.2481.34226755075.0
npm install react-example@40.7.0--canary.2481.34226755075.0
npm install vue-example@40.7.0--canary.2481.34226755075.0
npm install @infineon/infineon-design-system-stencil@40.7.0--canary.2481.34226755075.0
npm install @infineon/dds-tooling@40.7.0--canary.2481.34226755075.0
npm install @infineon/design-system-mcp@40.7.0--canary.2481.34226755075.0
npm install @infineon/infineon-design-system-angular@40.7.0--canary.2481.34226755075.0
npm install @infineon/infineon-design-system-react@40.7.0--canary.2481.34226755075.0
npm install @infineon/infineon-design-system-vue@40.7.0--canary.2481.34226755075.0
# or 
yarn add example-generator@40.7.0--canary.2481.34226755075.0
yarn add angular-module-example@40.7.0--canary.2481.34226755075.0
yarn add angular-standalone-example@40.7.0--canary.2481.34226755075.0
yarn add html-cdn-example@40.7.0--canary.2481.34226755075.0
yarn add html-vite-example@40.7.0--canary.2481.34226755075.0
yarn add react-example@40.7.0--canary.2481.34226755075.0
yarn add vue-example@40.7.0--canary.2481.34226755075.0
yarn add @infineon/infineon-design-system-stencil@40.7.0--canary.2481.34226755075.0
yarn add @infineon/dds-tooling@40.7.0--canary.2481.34226755075.0
yarn add @infineon/design-system-mcp@40.7.0--canary.2481.34226755075.0
yarn add @infineon/infineon-design-system-angular@40.7.0--canary.2481.34226755075.0
yarn add @infineon/infineon-design-system-react@40.7.0--canary.2481.34226755075.0
yarn add @infineon/infineon-design-system-vue@40.7.0--canary.2481.34226755075.0

@sofiacarvalho-ifx sofiacarvalho-ifx self-assigned this Aug 25, 2026
@sofiacarvalho-ifx sofiacarvalho-ifx added the minor minor version bump label Aug 25, 2026
@sofiacarvalho-ifx sofiacarvalho-ifx linked an issue Aug 25, 2026 that may be closed by this pull request
@github-actions

github-actions Bot commented Aug 25, 2026

Copy link
Copy Markdown
Contributor

Storybook Preview

Preview Links for Deployed Examples

Version: 40.7.0--canary.2481.34226755075.0

@tishoyanchev

Copy link
Copy Markdown
Contributor

@sofiacarvalho-ifx
When word-break is 'normal', then the text overflows when it's long with no space, eg: wwwwwwwwwwwwww
I am not sure there is a css solution to this issue. Another alternative is to add a small javascript logic that detects when the text overflows, and then you toggle a class which sets the word-break to 'break-all' again.

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

Labels

minor minor version bump

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Sidebar: Handle multi line navigation item names

2 participants