mirror of
https://github.com/cpvalente/ontime.git
synced 2026-09-10 08:39:34 +00:00
style: add label to auxiliary timer
This commit is contained in:
committed by
Carlos Valente
parent
c4359af2a0
commit
73e4a15718
@@ -1,5 +1,12 @@
|
|||||||
.extraRow {
|
.label {
|
||||||
|
display: block;
|
||||||
|
margin-top: 2rem;
|
||||||
|
font-size: $inner-section-text-size;
|
||||||
|
color: $label-gray;
|
||||||
|
}
|
||||||
|
|
||||||
|
.controls {
|
||||||
|
margin-top: 0.25rem;
|
||||||
display: flex;
|
display: flex;
|
||||||
gap: 0.5rem;
|
gap: 0.5rem;
|
||||||
margin-top: 2rem;
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -29,7 +29,9 @@ export function AuxTimer() {
|
|||||||
};
|
};
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<div className={style.extraRow}>
|
<label className={style.label}>
|
||||||
|
Auxiliary Timer
|
||||||
|
<div className={style.controls}>
|
||||||
<AuxTimerInput />
|
<AuxTimerInput />
|
||||||
<TapButton onClick={toggleDirection} aspect='tight'>
|
<TapButton onClick={toggleDirection} aspect='tight'>
|
||||||
{direction === SimpleDirection.CountDown && <IoArrowDown data-testid='aux-timer-direction' />}
|
{direction === SimpleDirection.CountDown && <IoArrowDown data-testid='aux-timer-direction' />}
|
||||||
@@ -56,6 +58,7 @@ export function AuxTimer() {
|
|||||||
<IoStop data-testid='aux-timer-stop' />
|
<IoStop data-testid='aux-timer-stop' />
|
||||||
</TapButton>
|
</TapButton>
|
||||||
</div>
|
</div>
|
||||||
|
</label>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user