mirror of
https://github.com/naturalcrit/homebrewery.git
synced 2026-01-14 17:12:40 +00:00
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.
This commit is contained in:
@@ -11,7 +11,13 @@
|
|||||||
position : relative;
|
position : relative;
|
||||||
height : calc(~"100% - 29px"); //Navbar height
|
height : calc(~"100% - 29px"); //Navbar height
|
||||||
flex : auto;
|
flex : auto;
|
||||||
|
overflow-y : hidden;
|
||||||
|
}
|
||||||
|
&.listPage .content {
|
||||||
overflow-y : scroll;
|
overflow-y : scroll;
|
||||||
}
|
}
|
||||||
|
// &.editPage .content, &.sharePage .content, &.newPage .content {
|
||||||
|
// overflow-y : hidden;
|
||||||
|
// }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user