0
0
mirror of https://github.com/naturalcrit/homebrewery.git synced 2025-12-28 09:12:45 +00:00
Files
homebrewery/client/homebrew/homebrew.less
Gazook89 49cc4180a7 set only listPage to overflow-y scroll.
The pages are not all quite set up the same way.  /new/, /edit/, and /share/ all use an iframe and those iframes have their own scroll behavior.  /user/ doesn't have an iframe and so the `.content` portion of the page needs to scroll.
2022-09-20 19:58:52 -05:00

24 lines
545 B
Plaintext

@import 'naturalcrit/styles/core.less';
.homebrew{
height : 100%;
.sitePage{
display : flex;
height : 100%;
background-color : @steel;
flex-direction : column;
overflow-y : hidden;
.content{
position : relative;
height : calc(~"100% - 29px"); //Navbar height
flex : auto;
overflow-y : hidden;
}
&.listPage .content {
overflow-y : scroll;
}
// &.editPage .content, &.sharePage .content, &.newPage .content {
// overflow-y : hidden;
// }
}
}