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