소스 검색

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

fix: set button font-size for modals
j8
yanas 8 년 전
부모
커밋
2c61d8d94b
3개의 변경된 파일10개의 추가작업 그리고 1개의 파일을 삭제
  1. 5
    0
      css/_variables.scss
  2. 4
    0
      css/modals/_dialog.scss
  3. 1
    1
      react/features/base/dialog/components/Dialog.web.js

+ 5
- 0
css/_variables.scss 파일 보기

@@ -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 파일 보기

@@ -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 파일 보기

@@ -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() }

Loading…
취소
저장