Fix post access indicator background

This commit is contained in:
Sodbileg Gansukh 2022-05-27 15:10:47 +08:00
parent c75b67cf5d
commit d00647009c
3 changed files with 9 additions and 4 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -644,12 +644,17 @@ body:not(.gh-head-open) .gh-burger:hover .gh-burger-inner::after {
}
.post-card:not(.post-access-public) .post-card-image-link::after {
position: relative;
background-color: rgba(0, 0, 0, 0.5);
backdrop-filter: blur(3px);
}
.post-card.keep-ratio:not(.post-card-large):not(.post-card-full) .post-card-image-link::after {
.post-card.keep-ratio:not(.post-access-public) .post-card-image-link::after {
position: absolute;
inset: 0;
padding-bottom: 0;
}
.post-card.keep-ratio.post-access-public:not(.post-card-large):not(.post-card-full) .post-card-image-link::after {
display: none;
}