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