mirror of
https://github.com/storybookjs/storybook.git
synced 2025-04-08 11:11:53 +08:00
IMPROVE the fix for sidebar overlapping bottombar
This commit is contained in:
parent
a4429457c6
commit
75a57a284e
@ -2,10 +2,4 @@
|
||||
#manager-head-not-loaded {
|
||||
display: none;
|
||||
}
|
||||
|
||||
@media (hover: none) {
|
||||
div > div > div > ul {
|
||||
padding-bottom: 80px !important;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
|
@ -13,7 +13,7 @@ const Heading = styled(SidebarHeading)<SidebarHeadingProps>({
|
||||
|
||||
const Stories = styled(({ className, ...rest }) => (
|
||||
<SidebarStories className={className} {...rest} />
|
||||
))(({ loading }) => (loading ? { marginTop: 8 } : {}));
|
||||
))(({ loading }) => (loading ? { marginTop: 8, overflow: 'hidden' } : { overflow: 'hidden' }));
|
||||
|
||||
const Container = styled.nav({
|
||||
position: 'absolute',
|
||||
|
Loading…
x
Reference in New Issue
Block a user