Reworking Personalization
All checks were successful
Deploy to production / build (push) Successful in 1m4s

This commit is contained in:
Sean Edmunds
2026-02-13 12:51:09 -06:00
parent dd5e3dd4f3
commit e24f1ece32
4 changed files with 151 additions and 96 deletions

View File

@@ -54,7 +54,25 @@ export default function ExtendedForecastCard({
borderRadius: '8px',
}}
>
<Text>{item.name}</Text>
<Group
justify={item.name.length > 15 ? 'flex-start' : 'center'}
style={{
width: '100%',
whiteSpace: 'nowrap',
overflow: 'hidden',
boxSizing: 'border-box',
position: 'relative',
}}
>
<Text
className={
item.name.length > 15 ? textClasses.autoScrollText : undefined
}
classNames={textClasses}
>
{item.name}
</Text>
</Group>
<WeatherIcon size='md' textDescription={short} />
<Group
justify={short.length > 15 ? 'flex-start' : 'center'}