Adwaita: Align combo menu labels with the combo button label
authornana-4 <hnmaigo@gmail.com>
Mon, 18 May 2020 12:52:00 +0000 (21:52 +0900)
committernana-4 <hnmaigo@gmail.com>
Mon, 18 May 2020 12:52:00 +0000 (21:52 +0900)
Apply the same left and right padding to the combo menu items as the
combo button.

gtk/theme/Adwaita/_common.scss

index ab39887d496bed45969dd467da4577c2360c2faa..410d4509efe7f7812e123cdc2d9b785b3eb940a3 100644 (file)
@@ -1237,6 +1237,12 @@ combobox {
     min-width: 16px;
   }
 
+  // align menu labels with the button label
+  > popover.menu > contents modelbutton {
+    padding-left: 9px;
+    padding-right: 9px;
+  }
+
   &.linked {
     button:nth-child(2) {
       &:dir(ltr) { @extend %linked_not_left; }