improve NodeView components and style
This commit is contained in:
@@ -86,11 +86,12 @@ export default {
|
||||
// ╰─╴╵ ╵╵ ╰└─╯
|
||||
|
||||
&-card {
|
||||
width: $node-card-width;
|
||||
height: $node-card-height;
|
||||
max-width: $node-card-width;
|
||||
width: 100%;
|
||||
|
||||
.node-view-wrapper {
|
||||
height: 100%;
|
||||
&-wrapper {
|
||||
width: 100%;
|
||||
max-height: $node-card-height;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
@@ -101,8 +102,6 @@ export default {
|
||||
|
||||
&-card &-header {
|
||||
padding: $node-card-spacer-sm-y $node-card-spacer-sm-x 0;
|
||||
position: sticky;
|
||||
top: 0;
|
||||
|
||||
@include media-breakpoint-up(md) {
|
||||
padding: $node-card-spacer-y $node-card-spacer-x 0;
|
||||
@@ -111,8 +110,6 @@ export default {
|
||||
|
||||
&-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) {
|
||||
padding: $node-card-spacer-y $node-card-spacer-x $node-card-spacer-y * 2;
|
||||
|
||||
Reference in New Issue
Block a user