Skip to content

Commit

Permalink
Hide right panel properly on desktop view (#2383)
Browse files Browse the repository at this point in the history
  • Loading branch information
futa-ikeda authored Nov 7, 2024
1 parent 10140b7 commit 3931250
Showing 1 changed file with 2 additions and 14 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,20 +2,8 @@
@import 'app/styles/components';

.container {
display: flex;
flex-direction: row;
flex-grow: 1;

> div {
// override OsfLayout styles for forcing drawer mode
max-width: none;
position: inherit;
}

> :global(.media-mobile),
> :global(.media-tablet) {
// allow drawer to be hidden offscreen
position: relative;
> div { // override OsfLayout styles for forcing drawer mode
overflow-x: hidden;
}
}

Expand Down

0 comments on commit 3931250

Please sign in to comment.