-
-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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(pageFilters): Update min widths #77975
Conversation
|
||
& > * { | ||
/* Prevent date filter from shrinking below 6.5rem */ | ||
&:nth-last-child(2) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this wrongly selects the environment filter, which doesn't need a min width.
} | ||
|
||
&:last-child { | ||
min-width: 0; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this selects the date filter, which already has a min width (in pageFilterBar.tsx
)
After #77867, we can set lower min width for page filters. **Before —** <img width="311" alt="Screenshot 2024-09-23 at 12 38 04 PM" src="https://github.com/user-attachments/assets/28876dbf-c17e-4baa-be84-8697a990125a"> **After —** <img width="275" alt="Screenshot 2024-09-23 at 12 37 49 PM" src="https://github.com/user-attachments/assets/b3965201-c721-4bc4-8744-9e37b96e4ccd">
After #77867, we can set lower min width for page filters.
Before —
After —