1
0
Fork 0
forked from fedi/mastodon

Fix wrong border radius on link cards in web UI (#26287)

This commit is contained in:
Eugen Rochko 2023-08-02 01:57:31 +02:00 committed by GitHub
parent ca342d4838
commit 4c999a736c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -3682,9 +3682,6 @@ a.status-card {
aspect-ratio: 1; aspect-ratio: 1;
background: lighten($ui-base-color, 8%); background: lighten($ui-base-color, 8%);
position: relative; position: relative;
border-radius: 8px;
border-start-end-radius: 0;
border-end-end-radius: 0;
& > .fa { & > .fa {
font-size: 21px; font-size: 21px;
@ -3697,9 +3694,6 @@ a.status-card {
} }
.status-card__image-image { .status-card__image-image {
border-radius: 8px;
border-start-end-radius: 0;
border-end-end-radius: 0;
display: block; display: block;
margin: 0; margin: 0;
width: 100%; width: 100%;
@ -3710,9 +3704,6 @@ a.status-card {
} }
.status-card__image-preview { .status-card__image-preview {
border-radius: 8px;
border-start-end-radius: 0;
border-end-end-radius: 0;
display: block; display: block;
margin: 0; margin: 0;
width: 100%; width: 100%;
@ -3739,6 +3730,15 @@ a.status-card {
aspect-ratio: auto; aspect-ratio: auto;
} }
.status-card__image,
.status-card__image-image,
.status-card__image-preview {
border-start-start-radius: 8px;
border-start-end-radius: 0;
border-end-end-radius: 0;
border-end-start-radius: 8px;
}
.status-card.expanded .status-card__image, .status-card.expanded .status-card__image,
.status-card.expanded .status-card__image-image, .status-card.expanded .status-card__image-image,
.status-card.expanded .status-card__image-preview { .status-card.expanded .status-card__image-preview {