Style bugfix
This commit is contained in:
@@ -81,9 +81,9 @@ function Header({
|
||||
classNames={textClasses}
|
||||
fz={isMobile ? 24 : undefined}
|
||||
style={{
|
||||
textShadow:
|
||||
theme.textShadowsEnabled &&
|
||||
'3px 3px 1px color-mix(in srgb, var(--mantine-color-primary-0), transparent 50%)',
|
||||
textShadow: theme.textShadowsEnabled
|
||||
? '3px 3px 1px color-mix(in srgb, var(--mantine-color-primary-0), transparent 50%)'
|
||||
: undefined,
|
||||
}}
|
||||
>
|
||||
{greet
|
||||
@@ -104,9 +104,9 @@ function Header({
|
||||
classNames={textClasses}
|
||||
style={{
|
||||
width: 'max-content',
|
||||
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,
|
||||
}}
|
||||
>
|
||||
{date}
|
||||
@@ -134,9 +134,9 @@ function Header({
|
||||
classNames={textClasses}
|
||||
mr={'.25rem'}
|
||||
style={{
|
||||
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,
|
||||
}}
|
||||
>
|
||||
{current.temperature}°F
|
||||
@@ -147,9 +147,9 @@ function Header({
|
||||
fz={'.875rem'}
|
||||
mb={'.375rem'}
|
||||
style={{
|
||||
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,
|
||||
}}
|
||||
>
|
||||
{current.highTemp}°F/{current.lowTemp}°F
|
||||
@@ -159,9 +159,9 @@ function Header({
|
||||
className={textClasses.dateTime}
|
||||
classNames={textClasses}
|
||||
style={{
|
||||
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,
|
||||
}}
|
||||
>
|
||||
{`${
|
||||
|
||||
Reference in New Issue
Block a user