Show long broadcast messages in text color

pull/1/head
David Benqué 4 years ago
parent 9fd0402585
commit a608d6ca6c

@ -64,6 +64,10 @@
color: @cryptpad_text_col; color: @cryptpad_text_col;
} }
.cp-admin-message {
color: @cryptpad_text_col;
}
.cp-inline-alert-text { .cp-inline-alert-text {
flex: 1; flex: 1;
} }

@ -477,7 +477,7 @@ define([
// XXX Allow markdown (sanitized)? // XXX Allow markdown (sanitized)?
var content = h('div', [ var content = h('div', [
h('h4', Messages.broadcast_newCustom), h('h4', Messages.broadcast_newCustom),
h('div', toShow) h('div.cp-admin-message', toShow)
]); ]);
UI.alert(content); UI.alert(content);
// XXX Dismiss on click? // XXX Dismiss on click?

Loading…
Cancel
Save