mirror of
https://github.com/naturalcrit/homebrewery.git
synced 2025-12-28 09:12:45 +00:00
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.
24 lines
545 B
Plaintext
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;
|
|
// }
|
|
}
|
|
}
|