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

styling change request sidebar #2350

Merged
merged 1 commit into from Nov 8, 2022
Merged

Conversation

kwasniew
Copy link
Contributor

@kwasniew kwasniew commented Nov 8, 2022

About the changes

  • change request sidebar has a number of feature toggles affected and navigation to change request overview page

Screenshot 2022-11-08 at 15 23 52

  • fixing change request banner overflow

Screenshot 2022-11-08 at 15 21 11

  • adding draft banner

Screenshot 2022-11-08 at 15 26 14

Important files

Discussion points

Please check if I'm doing navigation right

@vercel
Copy link

vercel bot commented Nov 8, 2022

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated
unleash-docs ✅ Ready (Inspect) Visit Preview 💬 Add your feedback Nov 8, 2022 at 2:27PM (UTC)
unleash-monorepo-frontend ✅ Ready (Inspect) Visit Preview 💬 Add your feedback Nov 8, 2022 at 2:27PM (UTC)

@@ -65,7 +65,7 @@ const DraftBannerContent: FC<{
const StickyBanner = styled(Box)(({ theme }) => ({
position: 'sticky',
top: -1,
zIndex: theme.zIndex.appBar,
zIndex: 200 /* has to lower than header.zIndex */,
Copy link
Member

Choose a reason for hiding this comment

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

It would be nice to keep it linked to theme

https://mui.com/material-ui/customization/default-theme/#main-content

Copy link
Contributor Author

Choose a reason for hiding this comment

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

unfortunately the header has index of 300 (literal value, not from a theme) and I don't know what the impact may be of touching a header zIndex.

@kwasniew kwasniew merged commit aa9aa6f into main Nov 8, 2022
@kwasniew kwasniew deleted the feat/styling-change-request-sidebar branch November 8, 2022 15:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

None yet

2 participants