fix: small weather icons (#361)

Signed-off-by: David Ralph <ohlookitsderpy@protonmail.com>
Co-authored-by: alexsparkes <alexsparkes@gmail.com>
This commit is contained in:
David Ralph
2023-03-21 19:43:24 +00:00
committed by GitHub
parent 717137ddb7
commit f6f057d354
4 changed files with 7 additions and 5 deletions

View File

@@ -50,9 +50,11 @@ function Expanded({ state, weatherType, variables }) {
<span>
<WiWindy className="weatherIcon" />
{state.weather.wind_speed}
<span className="minmax"> m/s</span>{' '}
<span className="minmax">m/s</span>{' '}
{enabled('windDirection') ? (
<div style={{ fontSize: "25px", display: "grid" }}>
<WindDirectionIcon className="weatherIcon" degrees={state.weather.wind_degrees} />
</div>
) : null}
</span>
</Tooltip>
@@ -67,7 +69,7 @@ function Expanded({ state, weatherType, variables }) {
<span>
<WiBarometer className="weatherIcon" />
{state.weather.pressure}
<span className="minmax"> hPa</span>
<span className="minmax">hPa</span>
</span>
</Tooltip>
) : null}

View File

@@ -97,7 +97,7 @@
span {
display: flex;
align-items: center;
gap: 20px;
gap: 10px;
}
@include themed {