This commit is contained in:
vinceliuice 2024-06-02 00:50:46 +08:00
parent cc39a8d37a
commit 974cc79a17
2 changed files with 6 additions and 5 deletions

View File

@ -142,8 +142,6 @@
.app-grid-running-dot { .app-grid-running-dot {
background-color: if($variant == 'light', rgba(black, 0.75), rgba(white, 0.75)); background-color: if($variant == 'light', rgba(black, 0.75), rgba(white, 0.75));
margin-bottom: 0 !important;
margin-top: 18px !important;
} }
StWidget.focused .app-grid-running-dot { StWidget.focused .app-grid-running-dot {

View File

@ -9,7 +9,9 @@ $dash_spacing: $base_margin * 0.5;
// container for the dash // container for the dash
#dash { #dash {
margin-top: $dash_edge_offset; // a bit of spacing so that dash doesn't touch the screen edges
padding-left: $base_padding;
padding-right: $base_padding;
// background behind item container // background behind item container
.dash-background { .dash-background {
@ -71,7 +73,8 @@ $dash_spacing: $base_margin * 0.5;
// running app dot // running app dot
.app-grid-running-dot { .app-grid-running-dot {
// manually position the dot within the dash item // manually position the dot within the dash item
margin-bottom: $dash_padding + $dash_edge_offset - 3px; // 3px = size of dot (5px) subtracted from its translationY from appDisplay.js // margin-bottom: $dash_padding + $dash_edge_offset - 3px; // 3px = size of dot (5px) subtracted from its translationY from appDisplay.js
offset-y: 0;
} }
} }
@ -92,5 +95,5 @@ $dash_spacing: $base_margin * 0.5;
// OSD Tooltip // OSD Tooltip
.dash-label { .dash-label {
-y-offset: $base_margin; // distance from the dash edge -y-offset: $base_margin * 2; // distance from the dash edge
} }