From f5b9f470b23011cfafad0557cdc40a1a75c43ffe Mon Sep 17 00:00:00 2001 From: Matthew Hodgson Date: Mon, 27 Jul 2015 18:26:51 +0100 Subject: [PATCH] fix CSS for QuestionDialog --- skins/base/css/common.css | 5 ++++- skins/base/views/organisms/QuestionDialog.js | 6 +++--- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/skins/base/css/common.css b/skins/base/css/common.css index 06fd4e39..32f915e9 100644 --- a/skins/base/css/common.css +++ b/skins/base/css/common.css @@ -43,6 +43,8 @@ html { overflow: -moz-scrollbars-none; } +/* FIXME: why is all the dialog stuff in here rather than in per-component files? */ + .mx_Dialog_Background { position: fixed; top: 0; @@ -111,7 +113,8 @@ html { padding-right: 1em; } -.mx_ErrorDialogTitle { +.mx_ErrorDialogTitle, +.mx_QuestionDialogTitle { min-height: 16px; padding: 12px; border-bottom: 1px solid #a9dbf4; diff --git a/skins/base/views/organisms/QuestionDialog.js b/skins/base/views/organisms/QuestionDialog.js index 920100f5..cff9aa2f 100644 --- a/skins/base/views/organisms/QuestionDialog.js +++ b/skins/base/views/organisms/QuestionDialog.js @@ -45,13 +45,13 @@ module.exports = React.createClass({ render: function() { return (
-
+
{this.props.title}
-
+
{this.props.description}
-
+