Fix: If notification content is empty and there's only attachment, remove gap
This commit is contained in:
parent
74960af27d
commit
9bfda36be3
@ -1,4 +1,4 @@
|
||||
### 1.4.3rc5: 2024-04-06
|
||||
### 1.4.3rc6: 2024-04-06
|
||||
|
||||
* Fix new notification types
|
||||
* Fix a typo that caused reblog notification styles to crash
|
||||
@ -7,6 +7,7 @@
|
||||
* Hide verification url from follow notifications
|
||||
* Fix boost message line spacing
|
||||
* Fix regression with status message padding
|
||||
* Fix: If notification content is empty and there's only attachment, remove gap
|
||||
|
||||
### 1.4.2: 2024-04-05
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
/* Mastodon Bird UI by @rolle@mementomori.social
|
||||
1.4.3rc5 */
|
||||
1.4.3rc6 */
|
||||
|
||||
/* CSS variables */
|
||||
:root {
|
||||
@ -1408,7 +1408,7 @@ body.embed .detailed-status__meta .detailed-status__link .fa-retweet,
|
||||
|
||||
/* Minimal boost notification fix */
|
||||
.layout-single-column .notification.notification-reblog .notification__message > span {
|
||||
margin-top: calc(var(--size-avatar-small) + 12px);
|
||||
margin-top: calc(var(--size-avatar-small) + calc(var(--gap-default) / 2))
|
||||
}
|
||||
|
||||
/* Minimal follow notification fix */
|
||||
@ -1421,6 +1421,11 @@ body.embed .detailed-status__meta .detailed-status__link .fa-retweet,
|
||||
margin-top: calc(var(--size-avatar-small) + 16px);
|
||||
}
|
||||
|
||||
/* If notification 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;
|
||||
}
|
||||
|
||||
.layout-single-column .notification.notification-follow .notification__message + .account {
|
||||
padding-bottom: 0;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user