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

fix sidebar width #2359

Merged
merged 1 commit into from
Nov 9, 2022
Merged

fix sidebar width #2359

merged 1 commit into from
Nov 9, 2022

Conversation

kwasniew
Copy link
Contributor

@kwasniew kwasniew commented Nov 9, 2022

About the changes

Screenshot 2022-11-09 at 14 04 36

Sidebar was stretched too wide. Not it's 50% of the screen.

Important files

Discussion points

Existing SidebarModal has a fixed width of 1300. It's not good for reusability. Since I don't want to touch all usages of the existing sidebar I added DynamicSidebarModal that has a width affected by its children. Both modals share most of the code.

@vercel
Copy link

vercel bot commented Nov 9, 2022

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

Name Status Preview Comments Updated
unleash-monorepo-frontend ✅ Ready (Inspect) Visit Preview 💬 Add your feedback Nov 9, 2022 at 1:06PM (UTC)
1 Ignored Deployment
Name Status Preview Comments Updated
unleash-docs ⬜️ Ignored (Inspect) Nov 9, 2022 at 1:06PM (UTC)

@kwasniew kwasniew changed the title fix sidebar width fixed sidebar width Nov 9, 2022
@kwasniew kwasniew changed the title fixed sidebar width fix sidebar width Nov 9, 2022
@kwasniew kwasniew merged commit b9f55a3 into main Nov 9, 2022
@kwasniew kwasniew deleted the feat/smaller-sidebar-changerequest branch November 9, 2022 15:50
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