PLT-6297 - Pinned label overlapping on heading (#6324)

* PLT-6297 - Pinned label overlapping on heading

* PLT-6500 - Fixing mention badge styling
Этот коммит содержится в:
Asaad Mahmood
2017-05-04 23:25:12 +05:00
коммит произвёл Joram Wilander
родитель 4f074fed0d
Коммит 72351c8ef8
2 изменённых файлов: 22 добавлений и 4 удалений

Просмотреть файл

@@ -904,6 +904,24 @@
}
&.same--root {
&.post--pinned {
h1,
h2 {
&:first-child {
margin-top: 15px;
}
}
h3,
h4,
h5,
h6 {
&:first-child {
margin-top: 20px;
}
}
}
&.same--user {
padding: 0 .5em 0 1em;

Просмотреть файл

@@ -558,14 +558,14 @@ export function applyTheme(theme) {
if (theme.mentionBj) {
changeCss('.sidebar--left .nav-pills__unread-indicator, .app__body .new-messages__button div', 'background:' + theme.mentionBj);
changeCss('.sidebar--left .badge', 'background:' + theme.mentionBj);
changeCss('.multi-teams .team-sidebar .team-wrapper .team-container .team-btn .badge', 'background:' + theme.mentionBj);
changeCss('.sidebar--left .badge', 'background:' + theme.mentionBj + ' !important');
changeCss('.multi-teams .team-sidebar .team-wrapper .team-container .team-btn .badge', 'background:' + theme.mentionBj + ' !important');
}
if (theme.mentionColor) {
changeCss('.app__body .sidebar--left .nav-pills__unread-indicator, .app__body .new-messages__button div', 'color:' + theme.mentionColor);
changeCss('.app__body .sidebar--left .badge', 'color:' + theme.mentionColor);
changeCss('.app__body .multi-teams .team-sidebar .team-wrapper .team-container .team-btn .badge', 'color:' + theme.mentionColor);
changeCss('.app__body .sidebar--left .badge', 'color:' + theme.mentionColor + ' !important');
changeCss('.app__body .multi-teams .team-sidebar .team-wrapper .team-container .team-btn .badge', 'color:' + theme.mentionColor + ' !important');
}
if (theme.centerChannelBg) {