From 64f603627047bc78066b98e0fa8d4667bcb9ca80 Mon Sep 17 00:00:00 2001 From: Jing Wang <99jingw@gmail.com> Date: Tue, 10 Oct 2023 01:16:08 -0700 Subject: [PATCH] window-list: Fix adherence to Fitts's law by removing padding Fixes #453 I tested that it still looks good in both dark and light mode. --- extensions/window-list/stylesheet-dark.css | 3 +-- extensions/window-list/stylesheet-light.css | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/extensions/window-list/stylesheet-dark.css b/extensions/window-list/stylesheet-dark.css index 5537e398..ff69e64d 100644 --- a/extensions/window-list/stylesheet-dark.css +++ b/extensions/window-list/stylesheet-dark.css @@ -13,7 +13,6 @@ .bottom-panel { background-color: #000000; border-top-width: 0px; - padding: 2px; } .window-button { @@ -38,7 +37,7 @@ background-color: #1d1d1d; border-radius: 4px; padding: 3px 6px 1px; - transition: 100ms ease; + transition: 100ms ease; } .window-button > StWidget { diff --git a/extensions/window-list/stylesheet-light.css b/extensions/window-list/stylesheet-light.css index 0bb2ab16..5445451a 100644 --- a/extensions/window-list/stylesheet-light.css +++ b/extensions/window-list/stylesheet-light.css @@ -10,8 +10,7 @@ #panel.bottom-panel { border-top-width: 1px; border-bottom-width: 0px; - height: 2.25em ; - padding: 2px; + height: 2.25em; } .bottom-panel .window-button > StWidget, -- GitLab