update: content moved to .content
This commit is contained in:
parent
2b754c6c51
commit
811014c4cc
|
@ -2,7 +2,9 @@
|
||||||
<div class="content-page">
|
<div class="content-page">
|
||||||
<h1 class="page-heading">{{ heading }}</h1>
|
<h1 class="page-heading">{{ heading }}</h1>
|
||||||
<section class="content-container">
|
<section class="content-container">
|
||||||
<slot></slot>
|
<div class="content">
|
||||||
|
<slot></slot>
|
||||||
|
</div>
|
||||||
</section>
|
</section>
|
||||||
<div class="background background-container">
|
<div class="background background-container">
|
||||||
<div class="background background-loading"
|
<div class="background background-loading"
|
||||||
|
@ -84,18 +86,29 @@ $z-index-top: 10;
|
||||||
position: relative;
|
position: relative;
|
||||||
|
|
||||||
height: 100%;
|
height: 100%;
|
||||||
|
width: 100%;
|
||||||
|
|
||||||
overflow-y: auto;
|
overflow-y: auto;
|
||||||
overflow-x: hidden;
|
overflow-x: hidden;
|
||||||
|
|
||||||
@media (min-width: $bp__layout) {
|
@media (min-width: $bp__layout) {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
width: 50%;
|
|
||||||
top: 0;
|
top: 0;
|
||||||
right: 0;
|
right: 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.content {
|
||||||
|
position: absolute;
|
||||||
|
width: 100%;
|
||||||
|
top: 0;
|
||||||
|
right: 0;
|
||||||
|
|
||||||
|
@media (min-width: $bp__layout) {
|
||||||
|
width: 50%;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
.background-container {
|
.background-container {
|
||||||
z-index: $z-index-bottom
|
z-index: $z-index-bottom
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue