-
-
Notifications
You must be signed in to change notification settings - Fork 4.6k
styles(autofix): Use scraps to layout explorer seer drawer #106294
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
base: master
Are you sure you want to change the base?
styles(autofix): Use scraps to layout explorer seer drawer #106294
Conversation
Remove use of styled to create layouts in the explorer seer drawer.
| <IconSeer animation={iconAnimation} size="md" /> | ||
| </HeaderContainer> | ||
| <ButtonWrapper> | ||
| <SeerDrawerNavigatorContainer justify="between" padding="sm 2xl"> |
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.
Navigator missing vertical alignment and background styling
Medium Severity
The SeerDrawerNavigatorContainer is missing align="center" and background="primary" props that were present in the original styled component. Without align="center", the header text/icon and button groups won't be vertically centered. Without background="primary", the navigator section will lack its intended background color and may appear transparent or blend incorrectly with surrounding content.
Additional Locations (1)
| <NavigationBreadcrumbs crumbs={breadcrumbs} /> | ||
| </DrawerHeader> | ||
| ); | ||
| } |
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.
Drawer header missing position and border style overrides
Medium Severity
The new SeerDrawerHeader function component wraps DrawerHeader without the style overrides that were present in the original styled component. The old version set position: unset, box-shadow: none, max-height, and border-bottom. Without these overrides, the header will now have sticky positioning (causing it to stick when scrolling), display an unwanted box-shadow, lack the intended border-bottom, and have no height constraint.
| <Placeholder height="10rem" /> | ||
| <Placeholder height="15rem" /> | ||
| </PlaceholderStack> | ||
| </Stack> |
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.
Loading state Stack missing top margin spacing
Low Severity
The Stack component used in the loading state is missing marginTop="xl" that was present in the original PlaceholderStack styled component. This will cause the placeholder content to appear closer to the navigator section above, reducing the visual spacing during the loading state.
roaga
left a comment
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.

Remove use of styled to create layouts in the explorer seer drawer.