mirror of
https://github.com/cpvalente/ontime.git
synced 2026-08-16 12:53:32 +00:00
Alpha revision (#811)
* style: less space for direction button * chore: cleanup unused * refactor: prevent CSS pollution * refactor: force render on swatch * refactor: force render on swatch * refactor: improve import of blocks and skip import * chore: remove unused * chore: clarify effect * chore: updata dataset * fix: integrations not triggering * chore: remove unused * fix: onair derives from playback * fix: gap day after
This commit is contained in:
@@ -31,7 +31,7 @@ export function ExtraTimer() {
|
||||
return (
|
||||
<div className={style.extraRow}>
|
||||
<ExtraTimeInput />
|
||||
<TapButton onClick={toggleDirection}>
|
||||
<TapButton onClick={toggleDirection} aspect='tight'>
|
||||
{direction === SimpleDirection.CountDown && <IoArrowDown />}
|
||||
{direction === SimpleDirection.CountUp && <IoArrowUp />}
|
||||
</TapButton>
|
||||
|
||||
@@ -79,6 +79,11 @@ $button-color-white: $gray-50;
|
||||
font-size: calc(1rem - 2px);
|
||||
}
|
||||
|
||||
.tapButton.tight {
|
||||
padding-inline: 0.5rem;
|
||||
width: fit-content
|
||||
}
|
||||
|
||||
.tapButton.fill {
|
||||
aspect-ratio: unset;
|
||||
height: 100%;
|
||||
|
||||
@@ -7,7 +7,7 @@ import style from './TapButton.module.scss';
|
||||
|
||||
interface TapButtonProps {
|
||||
disabled?: boolean;
|
||||
aspect?: 'normal' | 'square' | 'fill';
|
||||
aspect?: 'normal' | 'square' | 'fill' | 'tight';
|
||||
free?: boolean;
|
||||
onClick: () => void;
|
||||
theme?: Playback | 'neutral';
|
||||
|
||||
Reference in New Issue
Block a user