fix: only limit files bucket size when sidebar is open

This commit is contained in:
EnixCoda 2024-09-26 22:05:05 +08:00
parent 23732f4db8
commit 3e6e0435a1

View file

@ -5,14 +5,17 @@
min-width: $github-content-width;
}
#files-bucket,
.files-bucket {
& > .position-relative.px-4 {
width: unset !important;
left: unset !important;
right: unset !important;
margin-left: unset !important;
margin-right: unset !important;
&[data-with-gitako-spacing='left'],
&[data-with-gitako-spacing='right'] {
#files-bucket,
.files-bucket {
& > .position-relative.px-4 {
width: unset !important;
left: unset !important;
right: unset !important;
margin-left: unset !important;
margin-right: unset !important;
}
}
}