Style bugfix
This commit is contained in:
@@ -49,8 +49,9 @@ export default function CurrentWeather({ current }: { current: CW }) {
|
||||
className={textClasses.weatherTitle}
|
||||
classNames={textClasses}
|
||||
style={{
|
||||
textShadow:
|
||||
theme.textShadowsEnabled && '2px 2px var(--mantine-color-border-0)',
|
||||
textShadow: theme.textShadowsEnabled
|
||||
? '2px 2px var(--mantine-color-border-0)'
|
||||
: undefined,
|
||||
}}
|
||||
>
|
||||
Current Weather
|
||||
@@ -155,9 +156,9 @@ export default function CurrentWeather({ current }: { current: CW }) {
|
||||
classNames={textClasses}
|
||||
style={{
|
||||
textAlign: 'center',
|
||||
textShadow:
|
||||
theme.textShadowsEnabled &&
|
||||
'1px 1px 1px color-mix(in srgb, var(--mantine-color-accent-0), transparent 50%)',
|
||||
textShadow: theme.textShadowsEnabled
|
||||
? '1px 1px 1px color-mix(in srgb, var(--mantine-color-accent-0), transparent 50%)'
|
||||
: undefined,
|
||||
}}
|
||||
w={'100%'}
|
||||
>
|
||||
@@ -200,9 +201,9 @@ export default function CurrentWeather({ current }: { current: CW }) {
|
||||
classNames={textClasses}
|
||||
style={{
|
||||
textAlign: 'center',
|
||||
textShadow:
|
||||
theme.textShadowsEnabled &&
|
||||
'1px 1px 1px color-mix(in srgb, var(--mantine-color-accent-0), transparent 50%)',
|
||||
textShadow: theme.textShadowsEnabled
|
||||
? '1px 1px 1px color-mix(in srgb, var(--mantine-color-accent-0), transparent 50%)'
|
||||
: undefined,
|
||||
}}
|
||||
w={'100%'}
|
||||
>
|
||||
@@ -247,9 +248,9 @@ export default function CurrentWeather({ current }: { current: CW }) {
|
||||
classNames={textClasses}
|
||||
style={{
|
||||
textAlign: 'center',
|
||||
textShadow:
|
||||
theme.textShadowsEnabled &&
|
||||
'1px 1px 1px color-mix(in srgb, var(--mantine-color-accent-0), transparent 50%)',
|
||||
textShadow: theme.textShadowsEnabled
|
||||
? '1px 1px 1px color-mix(in srgb, var(--mantine-color-accent-0), transparent 50%)'
|
||||
: undefined,
|
||||
}}
|
||||
w={'100%'}
|
||||
>
|
||||
|
||||
@@ -29,7 +29,9 @@ export default function ExtendedForecastCard({
|
||||
className={textClasses.weatherTitle}
|
||||
classNames={textClasses}
|
||||
style={{
|
||||
textShadow: theme.textShadowsEnabled && '2px 2px var(--mantine-color-border-0)',
|
||||
textShadow: theme.textShadowsEnabled
|
||||
? '2px 2px var(--mantine-color-border-0)'
|
||||
: undefined,
|
||||
}}
|
||||
>
|
||||
Extended Forecast
|
||||
|
||||
Reference in New Issue
Block a user