mirror of
https://github.com/flarum/framework.git
synced 2025-02-21 05:53:37 +08:00
Hide badges on deleted posts
This commit is contained in:
parent
ad042fb0ef
commit
c9f3ac9d66
@ -224,18 +224,17 @@
|
||||
& .post-header, & .post-header a, & .post-user h3, & .post-user h3 a {
|
||||
color: @fl-body-muted-more-color;
|
||||
}
|
||||
& .post-body, & .post-footer, & h3 .avatar {
|
||||
& .post-body, & .post-footer, & h3 .avatar, & .post-header .badges {
|
||||
position: absolute;
|
||||
overflow: hidden;
|
||||
height: 0;
|
||||
visibility: hidden;
|
||||
opacity: 0;
|
||||
margin-top: -5px;
|
||||
.transition(~"margin-top 0.2s, opacity 0.2s");
|
||||
}
|
||||
&.reveal-content {
|
||||
& .post-body, & .post-footer, & h3 .avatar {
|
||||
& .post-body, & .post-footer, & h3 .avatar, & .post-header .badges {
|
||||
position: static;
|
||||
height: auto;
|
||||
visibility: visible;
|
||||
opacity: 0.5;
|
||||
margin-top: 0;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user