Reworking Personalization
All checks were successful
Deploy to production / build (push) Successful in 1m4s
All checks were successful
Deploy to production / build (push) Successful in 1m4s
This commit is contained in:
@@ -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'}
|
||||
|
||||
Reference in New Issue
Block a user