[geary/wip/299-squished-switches] Fix switches in the accounts editor looking squashed
- From: Michael Gratton <mjog src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [geary/wip/299-squished-switches] Fix switches in the accounts editor looking squashed
- Date: Sat, 30 Mar 2019 04:42:53 +0000 (UTC)
commit 8f04e4cc36919e19aabca4e275761750a406c023
Author: Michael Gratton <mike vee net>
Date: Sat Mar 30 15:40:50 2019 +1100
Fix switches in the accounts editor looking squashed
Don't apply CSS padding to all image widget descendants of an editor row
since switches and other stock widgets also use them internally.
Fixes #299
ui/geary.css | 12 ++++++++----
1 file changed, 8 insertions(+), 4 deletions(-)
---
diff --git a/ui/geary.css b/ui/geary.css
index a11f940f..b1bd0031 100644
--- a/ui/geary.css
+++ b/ui/geary.css
@@ -218,10 +218,6 @@ row.geary-settings {
padding: 0px;
}
-row.geary-settings image {
- padding: 0px 6px;
-}
-
row.geary-settings entry {
border-width: 0px;
background-color: transparent;
@@ -271,6 +267,14 @@ frame.geary-settings.geary-signature {
min-height: 5em;
}
+/* Images should have some padding to offset them from adjacent
+widgets, but care ust be taken since images are also used as children
+of other widgets like entries, comboboxes and switches, and these
+shouldn't be be touched. */
+row.geary-settings widget > image,
+row.geary-settings grid > image {
+ padding: 0px 6px;
+}
row.geary-settings > grid > combobox,
row.geary-settings > grid > entry,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]