refactor: clearer relationship on rundown elements

This commit is contained in:
Carlos Valente
2025-03-25 08:53:08 +01:00
committed by arc-alex
parent d48b2ae506
commit 27dcf06c73
7 changed files with 4 additions and 14 deletions
@@ -7,7 +7,6 @@
margin-top: 1rem;
display: flex;
flex-direction: column;
padding-right: 4px; // size of scrollbar
overflow-y: scroll;
height: 100%;
}
@@ -16,6 +15,7 @@
overflow-x: clip;
display: flex;
flex-direction: column;
padding-inline: 1rem;
}
.empty {
@@ -25,7 +25,7 @@
.list {
@include editor.panel;
height: inherit;
padding-left: 0;
padding-inline: 0;
box-shadow: $box-shadow-right;
flex: 1 2 auto; /* flex-grow: 1, flex-shrink: 2, flex-basis: auto */
@@ -21,18 +21,12 @@ $block-cursor-color: $orange-400;
border: 1px solid $white-7;
border-radius: $block-border-radius;
margin-block: 0.25rem;
margin-right: 0.125rem;
position: relative;
color: $block-text-color;
min-width: $block-width;
}
@mixin block-spacing() {
padding-right: 0.5rem;
gap: 2px;
}
@mixin drag-style() {
font-size: 20px;
justify-self: center;
@@ -1,9 +1,7 @@
@use '../blockMixins' as *;
.block {
@include block-spacing;
@include block-styling;
margin-left: 0.5rem;
background-color: $block-bg2;
@@ -1,11 +1,10 @@
@use '../blockMixins' as *;
.delay {
@include block-spacing;
@include block-styling;
margin-left: 0.5rem;
background-color: $block-bg2;
padding-right: 0.5rem;
display: grid;
grid-template-columns: 2rem 1fr auto;
@@ -5,7 +5,6 @@
margin: 0.25rem 0;
font-size: calc(1rem - 3px);
padding-inline: calc(2em + 0.5rem) 0.75rem;
}
.quickBtn {
@@ -1,5 +1,5 @@
.header {
padding-inline: calc(2rem - 6px + 0.5rem) calc(1rem + 2px);
padding-inline: 1rem 2rem;
display: flex;
align-items: center;