div.scrollbar-fix {
div.container-fluid {
div.row {
- div.'col-md-2'.bg-gray-200 {
+ div.'col-sm-6'.'col-md-4'.'col-lg-3'.'col-xxl-2'.sidebar {
div.'mt-1'.mb-4 {
div(style="width: 128px; height: 128px;") {
_out.push(avatar_maker)
//}
}
- div.col-md-9 {
+ div.col-xl-8 {
await body(_out)
footer.page-footer.grid-gutter-background.py-5 {
await head(_out) //title {'Hello, world!'}
}
- body {
+ body(style="overflow-x: hidden;") {
await body(_out) //h1 {'Hello, world!'}
// Optional JavaScript; choose one of the two!
padding-right: .5 * $grid-gutter-width;
}
+.sidebar {
+ position: sticky;
+ top: 0;
+ min-height: 100vh;
+ max-height: 100vh;
+ overflow-y: auto;
+ background-color: $gray-200;
+}
+
// needed for svg icons inside buttons, card headers, etc
// creates an inline element with correct width but no height
// the svg is positioned within this to vertically centre on a capital letter
sm: 576px,
md: 768px,
lg: 992px,
- xl: 1200px
+ xl: 1200px,
+ xxl: 1500px // Nick
) !default;
@include _assert-ascending($grid-breakpoints, "$grid-breakpoints");
sm: 540px,
md: 720px,
lg: 960px,
- xl: 1140px
+ xl: 1140px,
+ xxl: 1420px // Nick
) !default;
@include _assert-ascending($container-max-widths, "$container-max-widths");