Style bugfix
This commit is contained in:
@@ -12,7 +12,9 @@ function HelpSection({ name, items }: { name: string; items: SearchShortcut[] })
|
||||
className={textClasses.helpTitle}
|
||||
classNames={textClasses}
|
||||
style={{
|
||||
textShadow: theme.textShadowsEnabled && '2px 2px var(--mantine-color-border-0)',
|
||||
textShadow: theme.textShadowsEnabled
|
||||
? '2px 2px var(--mantine-color-border-0)'
|
||||
: undefined,
|
||||
}}
|
||||
>
|
||||
{name}
|
||||
|
||||
@@ -137,9 +137,11 @@ export function SettingsHeader({
|
||||
zIndex: 100,
|
||||
}}
|
||||
styles={
|
||||
theme.textShadowsEnabled && {
|
||||
label: { boxShadow: '2px 2px var(--mantine-color-border-0)' },
|
||||
}
|
||||
theme.textShadowsEnabled
|
||||
? {
|
||||
label: { boxShadow: '2px 2px var(--mantine-color-border-0)' },
|
||||
}
|
||||
: undefined
|
||||
}
|
||||
rightSection={
|
||||
isLoading ? (
|
||||
|
||||
@@ -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