[gtk/matthiasc/for-master: 6/7] Adwaita: Put column separators on the left
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/matthiasc/for-master: 6/7] Adwaita: Put column separators on the left
- Date: Mon, 19 Oct 2020 13:48:34 +0000 (UTC)
commit f3fe1812aa932b22ec2ddfaaa0c09a40078d4d31
Author: Matthias Clasen <mclasen redhat com>
Date: Mon Oct 19 09:37:20 2020 -0400
Adwaita: Put column separators on the left
When resizing columns, we clip a shrunk column
on the right, so the separator disappears in that
case unless we put it on the left side of the other
column.
gtk/theme/Adwaita/_common.scss | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/gtk/theme/Adwaita/_common.scss b/gtk/theme/Adwaita/_common.scss
index 212ee4ae07..59d57f9259 100644
--- a/gtk/theme/Adwaita/_common.scss
+++ b/gtk/theme/Adwaita/_common.scss
@@ -1772,7 +1772,7 @@ treeview.view {
%column_header_button {
padding: 0 6px;
background-image: none;
- border-style: none solid solid none;
+ border-style: none none solid solid;
border-color: $_treeview_borders_color;
border-radius: 0;
text-shadow: none;
@@ -3141,15 +3141,15 @@ columnview {
> cell {
padding: 8px 6px;
- &:not(:last-child) {
- border-right: 1px solid transparent;
+ &:not(:first-child) {
+ border-left: 1px solid transparent;
}
}
}
// make column separators visible when :show-column-separators is true
&.column-separators > listview > row > cell {
- border-right-color: $_treeview_borders_color;
+ border-left-color: $_treeview_borders_color;
}
// shrink vertically for .data-table
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]