feat: Separate style for drag example

This commit is contained in:
sthag 2025-04-14 20:16:10 +02:00
parent 2e2091a179
commit 2c61450238
3 changed files with 21 additions and 20 deletions

View file

@ -0,0 +1,18 @@
.body_drag {
height: 100vh;
// padding: $space_basic;
}
#space {
position: relative;
height: 100%;
background-color: $color-dark;
}
#addFrame {
@extend .io_button;
position: fixed;
top: 8px;
right: 8px;
margin: 0;
}

View file

@ -5,11 +5,6 @@ $module_top_height: 32px;
padding: $module_top_height + $space_basic $space_basic $space_basic;
}
.body_drag {
height: 100vh;
// padding: $space_basic;
}
.container {
display: grid;
height: 100%;
@ -29,7 +24,8 @@ $module_top_height: 32px;
}
}
.menu, #top {
.menu,
#top {
nav ul {
margin: 0;
}
@ -112,18 +108,4 @@ $module_top_height: 32px;
margin-right: 16px;
text-align: right;
}
}
#space {
position: relative;
height: 100%;
background-color: $color-dark;
}
#addFrame {
@extend .io_button;
position: fixed;
top: 8px;
right: 8px;
margin: 0;
}

View file

@ -3,3 +3,4 @@
@import "modules/ui/new_module";
@import "modules/ui/settings_module";
@import "modules/ui/drag_module";