diff --git a/src/components/Attendees/PeopleSearch.tsx b/src/components/Attendees/PeopleSearch.tsx index 123cab6..3dbeef4 100644 --- a/src/components/Attendees/PeopleSearch.tsx +++ b/src/components/Attendees/PeopleSearch.tsx @@ -141,46 +141,50 @@ export function PeopleSearch({ onChange(event, mapped); }} renderInput={(params) => ( - { - if (e.key === "Enter" && onToggleEventPreview) { - e.preventDefault(); - onToggleEventPreview(); - } - }} - slotProps={{ - input: { - ...params.InputProps, + <> + + - - {params.InputProps.startAdornment} - - ), - endAdornment: ( - <> - {loading ? ( - - ) : null} - {params.InputProps.endAdornment} - - ), - }, - }} - inputProps={{ - ...params.inputProps, - autoComplete: "off", - }} - /> + }} + onKeyDown={(e) => { + if (e.key === "Enter" && onToggleEventPreview) { + e.preventDefault(); + onToggleEventPreview(); + } + }} + slotProps={{ + input: { + ...params.InputProps, + autoComplete: "off", + startAdornment: ( + <> + + {params.InputProps.startAdornment} + + ), + endAdornment: ( + <> + {loading ? ( + + ) : null} + {params.InputProps.endAdornment} + + ), + }, + }} + /> + )} renderOption={(props, option) => { if (selectedUsers.find((u) => u.email === option.email)) return null; diff --git a/src/components/Calendar/CustomCalendar.styl b/src/components/Calendar/CustomCalendar.styl index c27495a..a28e173 100644 --- a/src/components/Calendar/CustomCalendar.styl +++ b/src/components/Calendar/CustomCalendar.styl @@ -342,3 +342,20 @@ tbody > tr.fc-scrollgrid-section:first-of-type .fc-scroller .fc-timegrid-event-harness-inset .fc-timegrid-event box-shadow none + +/* Hide 00:00 time slot label */ +.fc-timegrid-slot-label[data-time="00:00:00"] .fc-timegrid-slot-label-cushion, +.fc-timegrid-slot-label[data-time="00:00:00"] .fc-scrollgrid-shrink-cushion, +.fc-timegrid-slot-label[data-time="00:00:00"] .fc-timegrid-slot-label-frame::after + opacity 0 + +.visually-hidden + border 0 + clip rect(0 0 0 0) + height 1px + margin -1px + overflow hidden + padding 0 + position absolute + width 1px + whiteSpace nowrap diff --git a/src/components/Calendar/SettingsTab.tsx b/src/components/Calendar/SettingsTab.tsx index cb22d73..207df08 100644 --- a/src/components/Calendar/SettingsTab.tsx +++ b/src/components/Calendar/SettingsTab.tsx @@ -51,7 +51,9 @@ export function SettingsTab({ setName(e.target.value)} size="small" @@ -87,13 +89,13 @@ export function SettingsTab({ onChange={(e, val) => val && setVisibility(val)} size="small" > - - + + {t("common.all")} - - + + {t("common.you")} diff --git a/src/components/Calendar/TimezoneSelector.tsx b/src/components/Calendar/TimezoneSelector.tsx index 471cc11..c181b01 100644 --- a/src/components/Calendar/TimezoneSelector.tsx +++ b/src/components/Calendar/TimezoneSelector.tsx @@ -86,7 +86,7 @@ export function TimezoneSelector({ getTimezoneOffset(tzName, referenceDate) } autoFocus={true} - showIcon={true} + showIcon={false} inputFontSize="14px" inputPadding="2px 4px" onClose={handleClose} diff --git a/src/components/Event/AddDescButton.tsx b/src/components/Event/AddDescButton.tsx index 48076c4..ff4009a 100644 --- a/src/components/Event/AddDescButton.tsx +++ b/src/components/Event/AddDescButton.tsx @@ -43,7 +43,8 @@ export function AddDescButton({ > setDescription(e.target.value)} diff --git a/src/components/Event/EventFormFields.tsx b/src/components/Event/EventFormFields.tsx index dd222c9..7142e0b 100644 --- a/src/components/Event/EventFormFields.tsx +++ b/src/components/Event/EventFormFields.tsx @@ -414,7 +414,8 @@ export default function EventFormFields({ { @@ -500,7 +501,7 @@ export default function EventFormFields({ getTimezoneOffset={(tzName: string) => timezoneList.getTimezoneOffset(tzName, new Date(start)) } - showIcon={true} + showIcon={false} width={240} size="small" placeholder={t("event.form.timezonePlaceholder")} @@ -584,7 +585,8 @@ export default function EventFormFields({ setLocation(e.target.value)} @@ -595,15 +597,10 @@ export default function EventFormFields({ - {!showMore && ( - - {t("event.form.calendar")} - - )}