use variable named breakpoints
This commit is contained in:
@@ -112,15 +112,17 @@ export default {
|
||||
&-card &-header {
|
||||
padding: $node-card-spacer-sm-y $node-card-spacer-sm-x 0;
|
||||
|
||||
@include media-breakpoint-up(md) {
|
||||
@include media-breakpoint-up($size-bp) {
|
||||
padding: $node-card-spacer-y $node-card-spacer-x 0;
|
||||
}
|
||||
}
|
||||
|
||||
&-card &-footer {
|
||||
padding: $node-card-spacer-sm-y $node-card-spacer-sm-x $node-card-spacer-sm-y * 2;
|
||||
position: sticky;
|
||||
bottom: 0;
|
||||
|
||||
@include media-breakpoint-up(md) {
|
||||
@include media-breakpoint-up($size-bp) {
|
||||
padding: $node-card-spacer-y $node-card-spacer-x $node-card-spacer-y * 2;
|
||||
}
|
||||
}
|
||||
@@ -133,7 +135,7 @@ export default {
|
||||
&-view {
|
||||
width: 100%;
|
||||
|
||||
@include media-breakpoint-up(md) {
|
||||
@include media-breakpoint-up($layout-bp) {
|
||||
height: 100%;
|
||||
overflow-y: auto;
|
||||
|
||||
@@ -146,8 +148,11 @@ export default {
|
||||
&-view &-header {
|
||||
padding: $node-view-spacer-sm-y $node-view-spacer-sm-x 0;
|
||||
|
||||
@include media-breakpoint-up(md) {
|
||||
@include media-breakpoint-up($size-bp) {
|
||||
padding: $node-view-spacer-y $node-view-spacer-x 0;
|
||||
}
|
||||
|
||||
@include media-breakpoint-up($layout-bp) {
|
||||
position: sticky;
|
||||
top: 0;
|
||||
z-index: 1;
|
||||
@@ -157,8 +162,11 @@ export default {
|
||||
&-view &-footer {
|
||||
padding: $node-view-spacer-sm-y $node-view-spacer-sm-x;
|
||||
|
||||
@include media-breakpoint-up(md) {
|
||||
@include media-breakpoint-up($size-bp) {
|
||||
padding: $node-view-spacer-y $node-view-spacer-x;
|
||||
}
|
||||
|
||||
@include media-breakpoint-up($layout-bp) {
|
||||
position: sticky;
|
||||
bottom: 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user