FIX: More CSS regressions with notifications in non-english

This commit is contained in:
Robin Ward 2017-09-15 13:24:43 -04:00
parent 1a9762a9c0
commit ad77634854
2 changed files with 30 additions and 1 deletions

View File

@ -4,7 +4,7 @@ import { dateNode } from 'discourse/helpers/node';
createWidget('large-notification-item', {
buildClasses(attrs) {
const result = ['item', 'notification'];
const result = ['item', 'notification', 'large-notification'];
if (!attrs.get('read')) {
result.push('unread');
}

View File

@ -504,3 +504,32 @@
margin-top: 0;
}
}
.large-notification {
display: flex;
align-items: center;
a {
display: flex;
align-items: center;
.d-icon {
margin-right: 0.5em;
}
span {
color: $primary;
}
// Can remove this once other languages have removed html from i18n values
div {
.fa {
display: none;
}
p {
margin: 0;
}
}
}
}