Skip to content

Commit

Permalink
Fix dot position on Gnome 46.2 and greater (#2315)
Browse files Browse the repository at this point in the history
This patch fixes the dot in Default mode when not enabling "Few
customizations".

Tested in Ubuntu Noble, Fedora 46 (100% and 200% scale), and
Ubuntu Oracular (both in Ubuntu Desktop and Classic Gnome
sessions).

Closes: #2222
  • Loading branch information
sergio-costas authored Oct 8, 2024
1 parent 54bf864 commit 846f1fd
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions _stylesheet.scss
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@ $dash_padding: $base_padding*2; // 12px
$dash_border_radius: $modal_radius + $dash_padding;
$dash_padding_gnome: $dash_padding;

$dash_edge_offset: $base_margin * 3;

// Dash to dock specifics
$dash_padding: $base_padding + 4px; // 10px
$dash_border_radius: $modal_radius * 1.5;
Expand Down Expand Up @@ -270,6 +272,7 @@ $dock_style_modes: [null, shrink, extended, extended-shrink];

.dash-item-container .overview-tile .app-grid-running-dot {
margin-bottom: $dash_padding_gnome - 4px;
offset-y: -$dash_padding + $dash_edge_offset;
}

@each $side in $dock_sides {
Expand Down

0 comments on commit 846f1fd

Please sign in to comment.