gearheads
/
mastodon
Archived
2
0
Fork 0

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

gh/dev
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
1 changed files with 9 additions and 9 deletions

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 {