mirror of
https://github.com/discourse/discourse.git
synced 2024-12-16 07:33:45 +08:00
fix minor alignment issues with expanded posts
This commit is contained in:
parent
59ab3a7b2b
commit
3a78783574
|
@ -234,12 +234,18 @@ nav.post-controls {
|
||||||
// WARNING: overflow hide is required for quoted / embedded images
|
// WARNING: overflow hide is required for quoted / embedded images
|
||||||
// which expect "normal" post width, but expansions are narrower
|
// which expect "normal" post width, but expansions are narrower
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
padding: 10px 15px 15px 15px;
|
padding: 15px 15px 0 15px;
|
||||||
|
}
|
||||||
|
|
||||||
|
// this is covered by .topic-body .regular on a normal post
|
||||||
|
// but no such class structure exists for an embedded, expanded post
|
||||||
|
.cooked {
|
||||||
|
margin-top: 15px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.topic-avatar {
|
.topic-avatar {
|
||||||
padding-left: 15px;
|
padding-left: 15px;
|
||||||
padding-top: 0;
|
padding-top: 15px;
|
||||||
}
|
}
|
||||||
|
|
||||||
// bottom means "reply expansion" below a post
|
// bottom means "reply expansion" below a post
|
||||||
|
@ -266,7 +272,7 @@ nav.post-controls {
|
||||||
padding-right: 0;
|
padding-right: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.post-date { color: scale-color($primary, $lightness: 50%); }
|
.post-date { color: scale-color($primary, $lightness: 60%); }
|
||||||
.fa-arrow-up, .fa-arrow-down { margin-left: 5px; }
|
.fa-arrow-up, .fa-arrow-down { margin-left: 5px; }
|
||||||
.reply:first-of-type .row { border-top: none; }
|
.reply:first-of-type .row { border-top: none; }
|
||||||
|
|
||||||
|
@ -282,7 +288,7 @@ nav.post-controls {
|
||||||
color: scale-color($primary, $lightness: 30%);
|
color: scale-color($primary, $lightness: 30%);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
.arrow {color: scale-color($primary, $lightness: 50%);}
|
.arrow {color: scale-color($primary, $lightness: 60%);}
|
||||||
}
|
}
|
||||||
|
|
||||||
.post-action {
|
.post-action {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user