Remove bottom margin on the room page
This commit is contained in:
parent
ea97549d3e
commit
4193af9ef6
|
|
@ -15,7 +15,7 @@
|
||||||
@supports (display: grid) {
|
@supports (display: grid) {
|
||||||
display: grid;
|
display: grid;
|
||||||
}
|
}
|
||||||
grid-template-rows: auto 1fr auto;
|
grid-template-rows: auto 1fr max-content;
|
||||||
grid-template-areas: "h" "c" "f";
|
grid-template-areas: "h" "c" "f";
|
||||||
min-height: 100vh;
|
min-height: 100vh;
|
||||||
grid-auto-rows: 1fr;
|
grid-auto-rows: 1fr;
|
||||||
|
|
@ -57,7 +57,11 @@
|
||||||
|
|
||||||
&__footer {
|
&__footer {
|
||||||
grid-area: f;
|
grid-area: f;
|
||||||
|
// we usually set the margin to the bottom and the right, but here we want the footer to always have
|
||||||
|
// this margin, and we don't want to set it on every content element. And we don't want to set it on
|
||||||
|
// the content element, for if there's no footer.
|
||||||
margin-top: 3*$large-spacing;
|
margin-top: 3*$large-spacing;
|
||||||
|
margin-bottom: -3*$large-spacing;
|
||||||
|
|
||||||
padding: 0 $small-spacing;
|
padding: 0 $small-spacing;
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -4,8 +4,8 @@
|
||||||
|
|
||||||
.room {
|
.room {
|
||||||
display: grid;
|
display: grid;
|
||||||
grid-template-rows: auto 1fr;
|
grid-template-rows: max-content 1fr;
|
||||||
margin-bottom: -50px;
|
margin-bottom: -90px;
|
||||||
|
|
||||||
&__header {
|
&__header {
|
||||||
padding: 30px;
|
padding: 30px;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue