fix: Text not truncate for room preview

This commit is contained in:
duckietm 2024-07-02 11:59:22 +02:00
parent 7e9a7a7fd1
commit 5194bd357c
3 changed files with 3 additions and 5 deletions

View File

@ -406,10 +406,8 @@
left: 0; left: 0;
height: 100%; height: 100%;
width: 100%; width: 100%;
border-radius: $border-radius; background-color: $white;
background-color: $light;
background-repeat: no-repeat; background-repeat: no-repeat;
background-position: center;
overflow: hidden; overflow: hidden;
&.border-0 { &.border-0 {

View File

@ -44,7 +44,7 @@ export const CatalogLayoutDefaultView: FC<CatalogLayoutProps> = props =>
</Flex> </Flex>
<Column grow gap={ 1 }> <Column grow gap={ 1 }>
<CatalogLimitedItemWidgetView fullWidth /> <CatalogLimitedItemWidgetView fullWidth />
<Text grow truncate>{ currentOffer.localizationName }</Text> <Text grow >{ currentOffer.localizationName }</Text>
<Flex justifyContent="between"> <Flex justifyContent="between">
<Column gap={ 1 }> <Column gap={ 1 }>
<CatalogSpinnerWidgetView /> <CatalogSpinnerWidgetView />