refactor: small fixes and style tweaks

fix: prevent reflow on editing images

fix: schedule overview

fix: report on all events

refactor: over-under time colours

fix: prevent edit on delete
This commit is contained in:
Carlos Valente
2025-07-14 11:45:41 +02:00
committed by Carlos Valente
parent 1e1f547ce1
commit ad2ef3b53f
22 changed files with 135 additions and 141 deletions
@@ -103,7 +103,7 @@ function DurationInput({
onClick={handleFakeFocus}
onFocus={handleFakeFocus}
muted={!lockedValue}
offset={delayed ? 'behind' : undefined}
offset={delayed ? 'over' : undefined}
ref={textRef}
>
{children}
@@ -14,12 +14,12 @@
overflow: hidden;
&.ahead {
color: $playback-ahead;
&.under {
color: $playback-under;
}
&.behind {
color: $ontime-delay-text;
&.over {
color: $playback-over;
}
&.muted {
@@ -5,7 +5,7 @@ import { cx } from '../../../../common/utils/styleUtils';
import style from './TextLikeInput.module.scss';
interface TextLikeInputProps extends HTMLAttributes<HTMLSpanElement> {
offset?: 'ahead' | 'behind';
offset?: 'over' | 'under' | 'muted' | null;
muted?: boolean;
}
@@ -105,7 +105,7 @@ function TimeInputDuration({
onClick={handleFakeFocus}
onFocus={handleFakeFocus}
muted={!lockedValue}
offset={delayed ? 'behind' : undefined}
offset={delayed ? 'over' : undefined}
ref={textRef}
>
{children}