PLT-6297 - Pinned label overlapping on heading (#6324)
* PLT-6297 - Pinned label overlapping on heading * PLT-6500 - Fixing mention badge styling
Этот коммит содержится в:
коммит произвёл
Joram Wilander
родитель
4f074fed0d
Коммит
72351c8ef8
@@ -904,6 +904,24 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
&.same--root {
|
&.same--root {
|
||||||
|
&.post--pinned {
|
||||||
|
h1,
|
||||||
|
h2 {
|
||||||
|
&:first-child {
|
||||||
|
margin-top: 15px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
h3,
|
||||||
|
h4,
|
||||||
|
h5,
|
||||||
|
h6 {
|
||||||
|
&:first-child {
|
||||||
|
margin-top: 20px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
&.same--user {
|
&.same--user {
|
||||||
padding: 0 .5em 0 1em;
|
padding: 0 .5em 0 1em;
|
||||||
|
|
||||||
|
|||||||
@@ -558,14 +558,14 @@ export function applyTheme(theme) {
|
|||||||
|
|
||||||
if (theme.mentionBj) {
|
if (theme.mentionBj) {
|
||||||
changeCss('.sidebar--left .nav-pills__unread-indicator, .app__body .new-messages__button div', 'background:' + 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('.sidebar--left .badge', 'background:' + theme.mentionBj + ' !important');
|
||||||
changeCss('.multi-teams .team-sidebar .team-wrapper .team-container .team-btn .badge', 'background:' + theme.mentionBj);
|
changeCss('.multi-teams .team-sidebar .team-wrapper .team-container .team-btn .badge', 'background:' + theme.mentionBj + ' !important');
|
||||||
}
|
}
|
||||||
|
|
||||||
if (theme.mentionColor) {
|
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 .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 .sidebar--left .badge', 'color:' + theme.mentionColor + ' !important');
|
||||||
changeCss('.app__body .multi-teams .team-sidebar .team-wrapper .team-container .team-btn .badge', 'color:' + theme.mentionColor);
|
changeCss('.app__body .multi-teams .team-sidebar .team-wrapper .team-container .team-btn .badge', 'color:' + theme.mentionColor + ' !important');
|
||||||
}
|
}
|
||||||
|
|
||||||
if (theme.centerChannelBg) {
|
if (theme.centerChannelBg) {
|
||||||
|
|||||||
Ссылка в новой задаче
Block a user