Procházet zdrojové kódy

Merge pull request #1486 from virtuacoplenny/lenny/modal-button-font

fix: set button font-size for modals
j8
yanas před 8 roky
rodič
revize
2c61d8d94b

+ 5
- 0
css/_variables.scss Zobrazit soubor

@@ -79,6 +79,11 @@ $rateStarDefault: #ccc;
79 79
 $rateStarActivity: #165ecc;
80 80
 $rateStarSize: 34px;
81 81
 
82
+/**
83
+ * Modals
84
+ */
85
+$modalButtonFontSize: 14px;
86
+
82 87
 /**
83 88
  * Notifications
84 89
  */

+ 4
- 0
css/modals/_dialog.scss Zobrazit soubor

@@ -76,3 +76,7 @@
76 76
         border-bottom: 1px solid $auiBorderColor;
77 77
     }
78 78
 }
79
+
80
+.modal-dialog-footer {
81
+    font-size: $modalButtonFontSize;
82
+}

+ 1
- 1
react/features/base/dialog/components/Dialog.web.js Zobrazit soubor

@@ -93,7 +93,7 @@ class Dialog extends AbstractDialog {
93 93
      */
94 94
     _renderFooter() {
95 95
         return (
96
-            <footer>
96
+            <footer className = 'modal-dialog-footer'>
97 97
                 <AKButtonGroup>
98 98
                     { this._renderCancelButton() }
99 99
                     { this._renderOKButton() }

Načítá se…
Zrušit
Uložit