Browse Source

Clean up handling of dialog button spacing

Steven Silvester 7 years ago
parent
commit
e561403de0
2 changed files with 6 additions and 2 deletions
  1. 1 2
      packages/application/style/buttons.css
  2. 5 0
      packages/apputils/style/dialog.css

+ 1 - 2
packages/application/style/buttons.css

@@ -28,7 +28,6 @@ button.jp-mod-styled.jp-mod-accept {
 
 button.jp-mod-styled.jp-mod-reject {
     background: var(--md-grey-500);
-    margin-right: 12px;
     border: 1px solid var(--md-grey-500);
     color: white;
 }
@@ -62,4 +61,4 @@ button.jp-mod-styled.jp-mod-warn {
     border: none;
     box-shadow: none;
     background-color: rgba(153,153,153,.2);
-}
+}

+ 5 - 0
packages/apputils/style/dialog.css

@@ -99,3 +99,8 @@
   line-height: 1.4;
   color: var(--jp-ui-font-color0);
 }
+
+
+.jp-Dialog-button.jp-mod-styled:not(:last-child) {
+  margin-right: 12px;
+}