diff --git a/gtk/resources/theme/Adwaita/_common.scss b/gtk/resources/theme/Adwaita/_common.scss index 2cdd9e678f..c8bd130292 100644 --- a/gtk/resources/theme/Adwaita/_common.scss +++ b/gtk/resources/theme/Adwaita/_common.scss @@ -1659,7 +1659,11 @@ GtkFileChooserDialog .dialog-action-box { GtkPaned { // This is actually the invisible area of the paned separator, not a margin... - margin: 16px; //drag area of the separator + margin: 0 16px 16px 0; //drag area of the separator + &:dir(rtl) { + margin-right: 0; + margin-left: 16px; + } } .pane-separator { diff --git a/gtk/resources/theme/Adwaita/gtk-contained-dark.css b/gtk/resources/theme/Adwaita/gtk-contained-dark.css index 9868b8734f..ba4a9ac16b 100644 --- a/gtk/resources/theme/Adwaita/gtk-contained-dark.css +++ b/gtk/resources/theme/Adwaita/gtk-contained-dark.css @@ -2172,7 +2172,10 @@ GtkFileChooserDialog .dialog-action-box { color: #383e3e; } GtkPaned { - margin: 16px; } + margin: 0 16px 16px 0; } + GtkPaned:dir(rtl) { + margin-right: 0; + margin-left: 16px; } .pane-separator { background-image: linear-gradient(to bottom, #1c1f1f); } diff --git a/gtk/resources/theme/Adwaita/gtk-contained.css b/gtk/resources/theme/Adwaita/gtk-contained.css index 28dbaa1499..13a1947a8e 100644 --- a/gtk/resources/theme/Adwaita/gtk-contained.css +++ b/gtk/resources/theme/Adwaita/gtk-contained.css @@ -2170,7 +2170,10 @@ GtkFileChooserDialog .dialog-action-box { color: #dfdfdf; } GtkPaned { - margin: 16px; } + margin: 0 16px 16px 0; } + GtkPaned:dir(rtl) { + margin-right: 0; + margin-left: 16px; } .pane-separator { background-image: linear-gradient(to bottom, #a1a1a1); }