[gtk/matthiasc/for-master] Adwaita: be careful with list separators
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/matthiasc/for-master] Adwaita: be careful with list separators
- Date: Sun, 9 Aug 2020 16:36:34 +0000 (UTC)
commit 473ed75ed54524677efdbddd05896210565b7be0
Author: Matthias Clasen <mclasen redhat com>
Date: Sun Aug 9 12:01:08 2020 -0400
Adwaita: be careful with list separators
We only want the list .separators class to affect its
immediate children - otherwise, we end up with separators
in dropdowns that are places into button strips. As a side
benefit, restricting this to immediate children makes for
faster matching.
gtk/theme/Adwaita/_common.scss | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/gtk/theme/Adwaita/_common.scss b/gtk/theme/Adwaita/_common.scss
index c453733828..deeaed97f9 100644
--- a/gtk/theme/Adwaita/_common.scss
+++ b/gtk/theme/Adwaita/_common.scss
@@ -3078,11 +3078,11 @@ list {
> row.expander .row-header { padding: 2px; }
&.horizontal row.separator:not(:first-child),
- &.separators.horizontal row:not(:first-child) {
+ &.separators.horizontal > row:not(:first-child) {
border-left: 1px solid $borders_color;
}
&:not(.horizontal) row.separator:not(:first-child),
- &.separators:not(.horizontal) row:not(:first-child) {
+ &.separators:not(.horizontal) > row:not(:first-child) {
border-top: 1px solid $borders_color;
}
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]