Skip to content

Commit f5b9f47

Browse files
committed
fix CSS for QuestionDialog
1 parent 7ac852d commit f5b9f47

2 files changed

Lines changed: 7 additions & 4 deletions

File tree

‎skins/base/css/common.css‎

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,8 @@ html {
4343
overflow: -moz-scrollbars-none;
4444
}
4545

46+
/* FIXME: why is all the dialog stuff in here rather than in per-component files? */
47+
4648
.mx_Dialog_Background {
4749
position: fixed;
4850
top: 0;
@@ -111,7 +113,8 @@ html {
111113
padding-right: 1em;
112114
}
113115

114-
.mx_ErrorDialogTitle {
116+
.mx_ErrorDialogTitle,
117+
.mx_QuestionDialogTitle {
115118
min-height: 16px;
116119
padding: 12px;
117120
border-bottom: 1px solid #a9dbf4;

‎skins/base/views/organisms/QuestionDialog.js‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -45,13 +45,13 @@ module.exports = React.createClass({
4545
render: function() {
4646
return (
4747
<div className="mx_QuestionDialog">
48-
<div className="mx_QuestionDialog">
48+
<div className="mx_QuestionDialogTitle">
4949
{this.props.title}
5050
</div>
51-
<div className="mx_QuestionDialog">
51+
<div className="mx_Dialog_content">
5252
{this.props.description}
5353
</div>
54-
<div className="mx_QuestionDialog_buttons">
54+
<div className="mx_Dialog_buttons">
5555
<button onClick={this.onOk} autoFocus={this.props.focus}>
5656
{this.props.button}
5757
</button>

0 commit comments

Comments
 (0)