discourse/app/assets/stylesheets/common/select-kit/topic-notifications-button.scss
Joffrey JAFFEUX 41df705188
DEV: replaces topic-notifications-options by DMenu (#30298)
This commit introduces <NotificationsTracking /> which is a wrapper component around <DMenu /> which replaces the select-kit component <TopicNotificationsButton />.

Each tracking case has its dedicated component:

- topic -> `<TopicNotificationsTracking />`
- group -> `<GroupNotificationsTracking />`
- tag -> `<TagNotificationsTracking />`
- category -> `<CategoryNotificationsTracking />`
- chat thread -> `<ThreadNotificationsTracking />`
2024-12-16 19:59:18 +01:00

16 lines
457 B
SCSS

.topic-notifications-button {
display: contents;
}
// This is a weird fix for a weird issue in iOS/iPadOS, the browser freezes
// when changing the notification level while in the fullscreen topic footer.
// This prevents the selected option icon from being hidden while saving,
// and somehow that makes Safari happy.
.timeline-fullscreen {
.topic-notifications-button.is-loading {
.selected-name .d-icon {
display: inline-flex;
}
}
}