gnome-shell/data/theme/gnome-shell-sass
Sebastian Keller 18cd24e6f4 appDisplay: Fix app folder icon subicon spacing
The code previously was using CSS to define row/column spacing and
padding which was combined with a subicon size computed in code relative
to the requested icon size.

In smaller icon sizes it was possible for the CSS spacing+padding + the
size of the two subicons to exceed the requested icon size. This then
would lead to the label being pushed down for app folders compared to
other icons.

Another more severe issue caused by this would happen if the first item
in an icon grid was an app folder. Then the calculation for the maximum
allowed icon size could be off, leading to all icons in the grid
becoming smaller than actually necessary.

This commit changes this to use homogeneous row and column layouts to
evenly distribute the remaining spacing instead of using a fixed CSS
value.

Fixes https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/3069

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1581>
2021-01-21 21:05:30 +00:00
..
widgets appDisplay: Fix app folder icon subicon spacing 2021-01-21 21:05:30 +00:00
_colors.scss theme: revert OSD style to be $variant independent 2020-02-13 19:46:29 +00:00
_common.scss theme: Theme dash closer to mockup 2021-01-19 13:47:06 +00:00
_drawing.scss *: Fix spelling mistakes found by codespell 2020-08-21 18:25:09 +00:00
_high-contrast-colors.scss theme: base of the refactor 2020-01-09 16:42:57 +01:00
_widgets.scss theme: Move .workspace-thumbnail* into _workspace-thumbnails.scss 2020-02-13 19:46:29 +00:00
COPYING theme: Replace gnome-shell-sass submodule with subtree 2018-02-09 21:45:09 +00:00
gnome-shell-sass.doap theme: Replace gnome-shell-sass submodule with subtree 2018-02-09 21:45:09 +00:00
NEWS theme: Replace gnome-shell-sass submodule with subtree 2018-02-09 21:45:09 +00:00
README.md docs: Clarify where style changes should be done 2018-05-23 19:03:01 +02:00

GNOME Shell Sass

GNOME Shell Sass is a project intended to allow the sharing of the theme sources in sass between gnome-shell and other projects like gnome-shell-extensions.

Any changes should be done in the GNOME Shell subtree and not the stand-alone gnome-shell-sass repository. They will then be synchronized periodically before releases.

License

GNOME Shell Sass is distributed under the terms of the GNU General Public License, version 2 or later. See the COPYING file for details.