Skip to content

Jitsi Meet - Secure, Simple and Scalable Video Conferences that you use as a standalone app or embed in your web application.

fix: set button font-size for modals

Leonard Kim07cd6a8b887c
diff --git a/css/_variables.scss b/css/_variables.scss
index ea480c8c1b..e1e7233826 100644
--- a/css/_variables.scss
+++ b/css/_variables.scss
@@ -79,6 +79,11 @@ $rateStarDefault: #ccc;
$rateStarActivity: #165ecc;
$rateStarSize: 34px;
+/**
+ * Modals
+ */
+$modalButtonFontSize: 14px;
+
/**
* Notifications
*/
diff --git a/css/modals/_dialog.scss b/css/modals/_dialog.scss
index 4aa346a9f2..264f09020b 100644
--- a/css/modals/_dialog.scss
+++ b/css/modals/_dialog.scss
@@ -76,3 +76,7 @@
border-bottom: 1px solid $auiBorderColor;
}
}
+
+.modal-dialog-footer {
+ font-size: $modalButtonFontSize;
+}
diff --git a/react/features/base/dialog/components/Dialog.web.js b/react/features/base/dialog/components/Dialog.web.js
index 9d53efe9fe..ba67dbd09d 100644
--- a/react/features/base/dialog/components/Dialog.web.js
+++ b/react/features/base/dialog/components/Dialog.web.js
@@ -93,7 +93,7 @@ class Dialog extends AbstractDialog {
*/
_renderFooter() {
return (
- <footer>
+ <footer className = 'modal-dialog-footer'>
<AKButtonGroup>
{ this._renderCancelButton() }
{ this._renderOKButton() }