mirror of
https://github.com/glitch-soc/mastodon.git
synced 2025-12-22 14:58:16 +00:00
[Glitch] Fix media preview height in compose form when 3 or more images are attached (#2988)
Port 50449ae7ac to glitch-soc
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
This commit is contained in:
@@ -7181,6 +7181,8 @@ img.modal-warning {
|
|||||||
}
|
}
|
||||||
|
|
||||||
&--layout-3 {
|
&--layout-3 {
|
||||||
|
min-height: calc(64px * 2 + 8px);
|
||||||
|
|
||||||
& > .media-gallery__item:nth-child(1) {
|
& > .media-gallery__item:nth-child(1) {
|
||||||
border-end-end-radius: 0;
|
border-end-end-radius: 0;
|
||||||
border-start-end-radius: 0;
|
border-start-end-radius: 0;
|
||||||
@@ -7200,6 +7202,8 @@ img.modal-warning {
|
|||||||
}
|
}
|
||||||
|
|
||||||
&--layout-4 {
|
&--layout-4 {
|
||||||
|
min-height: calc(64px * 2 + 8px);
|
||||||
|
|
||||||
& > .media-gallery__item:nth-child(1) {
|
& > .media-gallery__item:nth-child(1) {
|
||||||
border-end-end-radius: 0;
|
border-end-end-radius: 0;
|
||||||
border-start-end-radius: 0;
|
border-start-end-radius: 0;
|
||||||
|
|||||||
Reference in New Issue
Block a user