mirror of https://github.com/Siphonay/mastodon
Fix wrong border radius on link cards in web UI (#26287)
This commit is contained in:
parent
ca342d4838
commit
4c999a736c
|
@ -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 {
|
||||||
|
|
Loading…
Reference in New Issue