feat: safe HTML descriptions, custom reminder picker, synced default event duration
- Render event descriptions as sanitized HTML (links/line breaks) instead of raw escaped text; no script execution - Reminder picker: presets + custom number+unit (minutes/hours/days/weeks) - Grey out + hint the reminder editor when a calendar's notifications are off (reminders are kept, just not fired) - New synced setting default_event_duration_minutes (default 60) for new events Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
@@ -355,9 +355,16 @@ a { color: var(--primary); text-decoration: none; }
|
||||
|
||||
.ev-color-row { display: flex; align-items: center; gap: 8px; }
|
||||
.ev-reminders-list { display: flex; flex-direction: column; gap: 6px; margin-bottom: 6px; }
|
||||
.ev-reminder-row { display: flex; align-items: center; gap: 8px; }
|
||||
.ev-reminder-row select { flex: 1; }
|
||||
.ev-reminder-row { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
|
||||
.ev-reminder-row > select { flex: 1; min-width: 120px; }
|
||||
.ev-reminder-remove { flex-shrink: 0; }
|
||||
.ev-reminder-custom { display: inline-flex; align-items: center; gap: 6px; flex-basis: 100%; }
|
||||
.ev-reminder-custom input[type="number"] { width: 64px; }
|
||||
.ev-reminder-before { color: var(--text-3); font-size: 12px; }
|
||||
.form-hint { font-size: 12px; color: var(--text-3); margin-bottom: 6px; }
|
||||
.reminders-disabled .ev-reminders-list,
|
||||
.reminders-disabled #ev-reminder-add { opacity: 0.5; }
|
||||
#ev-reminders-hint { color: var(--accent); }
|
||||
.ev-color-hex {
|
||||
flex: 1; height: 36px; padding: 0 10px;
|
||||
background: var(--bg-hover); border: 1px solid var(--border);
|
||||
@@ -1193,6 +1200,10 @@ a { color: var(--primary); text-decoration: none; }
|
||||
#popup-time { color: var(--text-1); font-weight: 500; }
|
||||
.popup-row-desc { color: var(--text-1); }
|
||||
.popup-row-desc span { white-space: pre-wrap; }
|
||||
#popup-description { overflow-wrap: anywhere; }
|
||||
#popup-description a { color: var(--primary); text-decoration: underline; }
|
||||
#popup-description p { margin: 0 0 6px; }
|
||||
#popup-description ul, #popup-description ol { margin: 4px 0; padding-left: 20px; }
|
||||
#popup-creator { font-style: italic; }
|
||||
|
||||
.popup-copy-menu {
|
||||
|
||||
Reference in New Issue
Block a user