discourse/app/assets/stylesheets/common/components/bookmark-modal.scss
chapoi 6c7c08178a
UX: Always show options in bookmark modal (#40075)
Previously, the bookmark modal hid the auto-delete preference behind a
gear-icon toggle, even though that toggle revealed only that one
control.

This change removes the toggle and renders the auto-delete preference
inline alongside the name and reminder fields.

| BC | AC |
|--------|--------|
| <img width="1234" height="1134" alt="CleanShot 2026-05-15 at 17 12
49@2x"
src="https://github.com/user-attachments/assets/9deeb527-6ae6-429c-93c5-355b445df279"
/> | <img width="1234" height="1134" alt="CleanShot 2026-05-15 at 17 11
13@2x"
src="https://github.com/user-attachments/assets/eaa65188-aead-4be3-8d7d-8b5d6ca032f6"
/> |


[Meta](https://meta.discourse.org/t/superfluous-button-in-edit-bookmark-dialog/403018?u=chapoi)
2026-05-26 09:08:17 +02:00

41 lines
616 B
SCSS
Vendored

.bookmark-reminder-modal {
.d-modal {
&__body {
box-sizing: border-box;
.control-label {
font-weight: 700;
}
.ember-text-field.bookmark-name {
width: 100%;
margin-bottom: 0.5em;
}
}
&__footer {
.delete-bookmark {
margin-left: auto;
margin-right: 0;
}
}
}
.existing-reminder-at-alert {
display: flex;
flex-direction: row;
align-items: center;
.d-icon {
margin-right: 1em;
}
}
.bookmark-options-panel {
margin-bottom: 18px;
.select-kit {
width: 100%;
}
}
}