demo: no sticky (iced limitation), reduce spacing, Window height:100vh
This commit is contained in:
@@ -22,8 +22,8 @@ $border = #dcd5cc
|
|||||||
border-color: $border
|
border-color: $border
|
||||||
border-width: 1px
|
border-width: 1px
|
||||||
border-radius: 10px
|
border-radius: 10px
|
||||||
padding: 16px
|
padding: 12px
|
||||||
gap: 12px
|
gap: 8px
|
||||||
}
|
}
|
||||||
|
|
||||||
@mixin text-body {
|
@mixin text-body {
|
||||||
@@ -34,6 +34,7 @@ $border = #dcd5cc
|
|||||||
// ── Globals ──────────────────────────────────────────────────────────────────
|
// ── Globals ──────────────────────────────────────────────────────────────────
|
||||||
Window {
|
Window {
|
||||||
background: $bg
|
background: $bg
|
||||||
|
height: 100vh
|
||||||
}
|
}
|
||||||
|
|
||||||
Panel {
|
Panel {
|
||||||
@@ -61,21 +62,21 @@ Panel {
|
|||||||
// ── Layout ───────────────────────────────────────────────────────────────────
|
// ── Layout ───────────────────────────────────────────────────────────────────
|
||||||
.body {
|
.body {
|
||||||
direction: horizontal
|
direction: horizontal
|
||||||
padding: 16px
|
padding: 12px
|
||||||
gap: 16px
|
gap: 12px
|
||||||
width: fill
|
width: fill
|
||||||
}
|
}
|
||||||
|
|
||||||
.col-left {
|
.col-left {
|
||||||
direction: vertical
|
direction: vertical
|
||||||
gap: 14px
|
gap: 10px
|
||||||
width: 45%
|
flex-grow: 2
|
||||||
}
|
}
|
||||||
|
|
||||||
.col-right {
|
.col-right {
|
||||||
direction: vertical
|
direction: vertical
|
||||||
gap: 14px
|
gap: 10px
|
||||||
width: 55%
|
flex-grow: 3
|
||||||
}
|
}
|
||||||
|
|
||||||
// ── Card ─────────────────────────────────────────────────────────────────────
|
// ── Card ─────────────────────────────────────────────────────────────────────
|
||||||
@@ -351,17 +352,17 @@ Slider {
|
|||||||
|
|
||||||
// ── Log / Scroll ─────────────────────────────────────────────────────────────
|
// ── Log / Scroll ─────────────────────────────────────────────────────────────
|
||||||
.log {
|
.log {
|
||||||
@use card-base
|
|
||||||
background: #f0ece6
|
background: #f0ece6
|
||||||
|
border-width: 1px
|
||||||
|
border-color: $border
|
||||||
|
border-radius: 10px
|
||||||
height: 180px
|
height: 180px
|
||||||
overflow-y: scroll
|
overflow-y: scroll
|
||||||
padding: 8px
|
padding: 4px
|
||||||
gap: 4px
|
gap: 2px
|
||||||
}
|
}
|
||||||
|
|
||||||
.log-header {
|
.log-header {
|
||||||
position: sticky
|
|
||||||
top: 0px
|
|
||||||
background: $surface
|
background: $surface
|
||||||
padding: 6px 10px
|
padding: 6px 10px
|
||||||
border-radius: 4px
|
border-radius: 4px
|
||||||
|
|||||||
Reference in New Issue
Block a user