Graphite-gtk-theme icon indicating copy to clipboard operation
Graphite-gtk-theme copied to clipboard

dashtodock has extra bottom padding

Open JaxonWright opened this issue 1 year ago • 2 comments

image

I have tried to find where in the gnome-shell.css that this problem is caused by, but I cannot. Even adjusting the margin and padding manually does nothing.

This only applies to a bottom-pinned dock.

JaxonWright avatar Apr 06 '24 01:04 JaxonWright

You should change the dash to dock setting !

vinceliuice avatar Apr 06 '24 07:04 vinceliuice

@vinceliuice can you give me more insight on where/what that is?

JaxonWright avatar Apr 06 '24 15:04 JaxonWright

I found the issue finally. In the CSS, such as ~/.themes/Graphite-green-Dark/gnome-shell/gnome-shell.css, you need to make the following changes:

Remove the extra space at bottom:

.dash-item-container .app-well-app, .dash-item-container .show-apps {
- padding: 10 0 26px !important;
+ padding: 0 0 0 !important;
  border-radius: 12px;
}

Fix position of the separator:

.dash-separator {
  width: 1px;
- margin: 0 7px 16px;
+ margin: 0 7px 0;
  background-color: rgba(255, 255, 255, 0.12);
}

It really does seem like these changes should officially be made to the project. At least for a bottom aligned, full-width dock

JaxonWright avatar Jul 10 '24 03:07 JaxonWright