Fix unexpected cropping in grid layout

This commit is contained in:
Sodbileg Gansukh
2022-06-03 17:07:38 +08:00
parent d1b1d383f5
commit 52663e9be7
4 changed files with 7 additions and 7 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

@ -643,19 +643,19 @@ body:not(.gh-head-open) .gh-burger:hover .gh-burger-inner::after {
padding-bottom: 55%;
}
.post-card[class*="post-access-"]:not(.post-access-public) .post-card-image-link::after {
.post-card[class*="post-access-"] .post-card-image-link::after {
background-color: rgba(0, 0, 0, 0.5);
backdrop-filter: blur(3px);
}
.post-card.keep-ratio[class*="post-access-"]:not(.post-access-public) .post-card-image-link::after {
.post-card.keep-ratio[class*="post-access-"] .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;
.post-card.keep-ratio:not(.post-card-large):not(.post-card-full) .post-card-image-link::after {
padding-bottom: 0;
}
.post-card-image {