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 a default color for text in modal dialogs

Leonard Kimf9585430bb25
diff --git a/css/_variables.scss b/css/_variables.scss
index e1e7233826..c2bd9e81c1 100644
--- a/css/_variables.scss
+++ b/css/_variables.scss
@@ -83,6 +83,7 @@ $rateStarSize: 34px;
* Modals
*/
$modalButtonFontSize: 14px;
+$modalTextColor: #333;
/**
* Notifications
diff --git a/css/modals/_dialog.scss b/css/modals/_dialog.scss
index 264f09020b..ef0c879591 100644
--- a/css/modals/_dialog.scss
+++ b/css/modals/_dialog.scss
@@ -77,6 +77,9 @@
}
}
+.modal-dialog-form {
+ color: $modalTextColor;
+}
.modal-dialog-footer {
font-size: $modalButtonFontSize;
}
diff --git a/css/modals/speaker_stats/_speaker_stats.scss b/css/modals/speaker_stats/_speaker_stats.scss
index 771974d576..ab493b832b 100644
--- a/css/modals/speaker_stats/_speaker_stats.scss
+++ b/css/modals/speaker_stats/_speaker_stats.scss
@@ -1,7 +1,6 @@
.speaker-stats {
list-style: none;
padding: 0;
- color: $auiDialogColor;
width: 100%;
font-weight: 500;
diff --git a/react/features/base/dialog/components/Dialog.web.js b/react/features/base/dialog/components/Dialog.web.js
index 5a19ac0ae2..3800623f5b 100644
--- a/react/features/base/dialog/components/Dialog.web.js
+++ b/react/features/base/dialog/components/Dialog.web.js
@@ -56,6 +56,7 @@ class Dialog extends AbstractDialog {
width = { this.props.width || 'medium' }>
<div>
<form
+ className = 'modal-dialog-form'
id = 'modal-dialog-form'
onSubmit = { this._onSubmit }>
{ this.props.children }