[gnome-software: 8/10] gtk-style: Add some comments to clarify size calculations
- From: Philip Withnall <pwithnall src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-software: 8/10] gtk-style: Add some comments to clarify size calculations
- Date: Fri, 13 Aug 2021 12:10:37 +0000 (UTC)
commit 991120e4635bd3007ded70bb425c0022fa15fd9c
Author: Philip Withnall <pwithnall endlessos org>
Date: Thu Aug 12 17:08:07 2021 +0100
gtk-style: Add some comments to clarify size calculations
Signed-off-by: Philip Withnall <pwithnall endlessos org>
src/gtk-style.css | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/src/gtk-style.css b/src/gtk-style.css
index 76e61b9a8..e0108f7d4 100644
--- a/src/gtk-style.css
+++ b/src/gtk-style.css
@@ -744,15 +744,15 @@ app-context-bar .context-tile:last-child {
font-weight: bold;
border-radius: 99999px;
padding: 9px 11px;
- min-width: 18px;
- min-height: 22px;
+ min-width: 18px; /* 40px minus the left and right padding */
+ min-height: 22px; /* 40px minus the top and bottom padding */
}
.context-tile-lozenge.large {
font-size: 24px;
padding: 15px 18px;
- min-width: 24px;
- min-height: 30px;
+ min-width: 24px; /* 60px minus the left and right padding */
+ min-height: 30px; /* 60px minus the top and bottom padding */
}
.context-tile-lozenge.wide-image image {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]