remove unnamespaced CSS fail
This commit is contained in:
parent
923295973b
commit
adedf23cfb
3 changed files with 5 additions and 6 deletions
|
@ -42,7 +42,7 @@ export default React.createClass({
|
|||
const QuestionDialog = sdk.getComponent('dialogs.QuestionDialog');
|
||||
Modal.createTrackedDialog('Display release notes', '', QuestionDialog, {
|
||||
title: _t("What's New"),
|
||||
description: <pre className="changelog_text">{releaseNotes}</pre>,
|
||||
description: <div className="mx_MatrixToolbar_changelog">{releaseNotes}</div>,
|
||||
button: _t("Update"),
|
||||
onFinished: (update) => {
|
||||
if(update && PlatformPeg.get()) {
|
||||
|
|
|
@ -294,11 +294,6 @@ textarea {
|
|||
margin-top: 69px;
|
||||
}
|
||||
|
||||
.changelog_text {
|
||||
// why on earth is this needed? and with the wrong namespacing? >:(
|
||||
font-family: $font-family;
|
||||
}
|
||||
|
||||
.mx_Beta {
|
||||
color: red;
|
||||
margin-right: 10px;
|
||||
|
|
|
@ -56,3 +56,7 @@ limitations under the License.
|
|||
.mx_MatrixToolbar_action {
|
||||
margin-right: 16px;
|
||||
}
|
||||
|
||||
.mx_MatrixToolbar_changelog {
|
||||
white-space: pre;
|
||||
}
|
Loading…
Reference in a new issue