Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add title to sidenav #1457

Merged
merged 6 commits into from
Nov 8, 2022
Merged

feat: add title to sidenav #1457

merged 6 commits into from
Nov 8, 2022

Conversation

Wawrzyn321
Copy link
Contributor

@Wawrzyn321 Wawrzyn321 commented Nov 7, 2022

Description

  • Show title on hover on SideNav group title and SideNav item. It defaults to name, but it would show [Object object] if name is a component (and not a plain string), so I had to add an optional title prop.
  • Make sure texts wrap in SideNav - although the default class specifies text-overflow and overflow, it also sets display: flex, which disables the former... I couldn't add custom SCSS (build fails) nor CSS (*.css files aren't copied), so I went with inline style approach.

@netlify
Copy link

netlify bot commented Nov 7, 2022

Deploy Preview for fundamental-react ready!

Name Link
🔨 Latest commit 5384648
🔍 Latest deploy log https://app.netlify.com/sites/fundamental-react/deploys/636a1a2c6ed192000dbb4c37
😎 Deploy Preview https://deploy-preview-1457--fundamental-react.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

@Wawrzyn321 Wawrzyn321 marked this pull request as ready for review November 7, 2022 12:55
@Wawrzyn321 Wawrzyn321 mentioned this pull request Nov 7, 2022
16 tasks
@Wawrzyn321 Wawrzyn321 merged commit a6c86da into SAP:main Nov 8, 2022
@Wawrzyn321 Wawrzyn321 deleted the sidenav-title-and-wrapping branch November 8, 2022 11:01
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.

None yet

2 participants