vinceliuice / Graphite-gtk-theme

Graphite gtk theme
GNU General Public License v3.0
1.06k stars 52 forks source link

dashtodock has extra bottom padding #137

Closed JaxonWright closed 4 months ago

JaxonWright commented 7 months ago

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.

vinceliuice commented 7 months ago

You should change the dash to dock setting !

JaxonWright commented 7 months ago

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

JaxonWright commented 4 months ago

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