Fix too much space before attachments in certain situations
This commit is contained in:
parent
49040aad16
commit
1d04ac6f32
@ -1,4 +1,4 @@
|
||||
### 1.4.3rc7: 2024-04-06
|
||||
### 1.4.3rc8: 2024-04-06
|
||||
|
||||
* Fix new notification types
|
||||
* Fix a typo that caused reblog notification styles to crash
|
||||
@ -9,6 +9,7 @@
|
||||
* Fix regression with status message padding
|
||||
* Fix: If notification content is empty and there's only attachment, remove gap
|
||||
* Fix inconsistencies in paddings of the notification content
|
||||
* Fix too much space if there is no content in regular statuses before attachment
|
||||
|
||||
### 1.4.2: 2024-04-05
|
||||
|
||||
|
14
style.css
14
style.css
@ -1,5 +1,5 @@
|
||||
/* Mastodon Bird UI by @rolle@mementomori.social
|
||||
1.4.3rc7 */
|
||||
1.4.3rc8 */
|
||||
|
||||
/* CSS variables */
|
||||
:root {
|
||||
@ -1421,11 +1421,21 @@ body.embed .detailed-status__meta .detailed-status__link .fa-retweet,
|
||||
margin-top: calc(var(--size-avatar-small) + calc(var(--gap-default) / 2));
|
||||
}
|
||||
|
||||
/* If notification content is empty and there's only attachment, remove gap */
|
||||
/* If a status content is empty and there's only attachment, remove gap */
|
||||
.layout-single-column .notification .status__content:has(.status__content__text:empty) + .attachment-list {
|
||||
margin-top: 0;
|
||||
}
|
||||
|
||||
/* Less space before attachments if no status content */
|
||||
.layout-single-column .status .status__content:has(.status__content__text:empty) + .audio-player,
|
||||
.layout-single-column .status .status__content:has(.status__content__text:empty) + .video-player,
|
||||
.layout-single-column .status .status__content:has(.status__content__text:empty) + .media-gallery,
|
||||
.layout-single-column .detailed-status .status__content:has(.status__content__text:empty) + .audio-player,
|
||||
.layout-single-column .detailed-status .status__content:has(.status__content__text:empty) + .video-player,
|
||||
.layout-single-column .detailed-status .status__content:has(.status__content__text:empty) + .media-gallery {
|
||||
margin-top: calc(var(--gap-default) / 2);
|
||||
}
|
||||
|
||||
.layout-single-column .notification.notification-follow .notification__message + .account {
|
||||
padding-bottom: 0;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user