Skip to content

Commit

Permalink
fix: only limit files bucket size when sidebar is open
Browse files Browse the repository at this point in the history
  • Loading branch information
EnixCoda committed Sep 26, 2024
1 parent 23732f4 commit 3e6e043
Showing 1 changed file with 11 additions and 8 deletions.
19 changes: 11 additions & 8 deletions src/styles/github.scss
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
}
}

Expand Down

0 comments on commit 3e6e043

Please sign in to comment.