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

@@ -62,4 +62,4 @@
"lint:fix": "eslint \"./src/**/*.{js,jsx}\" --fix && stylelint \"./src/**/*.{scss,css}\" --fix",
"postinstall": "husky install"
}
}
}

2
pnpm-lock.yaml generated
View File

@@ -6204,4 +6204,4 @@ packages:
/yocto-queue/0.1.0:
resolution: {integrity: sha512-rVksvsnNCdJ/ohGc6xgPwyN8eheCxsiLM8mxuE/t/mOVqJewPuO1miLpTHQiRgTKCLexL4MeAFVagts7HmNZ2Q==}
engines: {node: '>=10'}
dev: true
dev: true

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 {