Arrange wind controls horizontally
This commit is contained in:
@@ -107,17 +107,17 @@ export const MapView: Component<{ type: MapResolution, data: () => ResultKeyVal[
|
||||
<div class="mapControlSections">
|
||||
<section class="valueControls">
|
||||
<strong>Value and wind settings</strong>
|
||||
<div>
|
||||
<label>
|
||||
<div class="windControlRow">
|
||||
<label class="roundControl">
|
||||
<input
|
||||
type="checkbox"
|
||||
checked={windSignals.roundValues[0]()}
|
||||
onChange={e => windSignals.roundValues[1](e.target.checked)}
|
||||
/>
|
||||
Round values
|
||||
<span>Round temperatures</span>
|
||||
</label>
|
||||
{ props.showWind && <WindInputs signals={windSignals} /> }
|
||||
</div>
|
||||
{ props.showWind && <WindInputs signals={windSignals} /> }
|
||||
</section>
|
||||
{mode === "faktiska" && <IconInputs cities={data().map(([city]) => city)} weatherIconsSignal={weatherIconsSignal} />}
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user