From 5194bd357c060b80067a4df82b487b4684890747 Mon Sep 17 00:00:00 2001 From: duckietm Date: Tue, 2 Jul 2024 11:59:22 +0200 Subject: [PATCH] fix: Text not truncate for room preview --- src/common/index.scss | 4 +--- .../catalog/views/page/layout/CatalogLayoutDefaultView.tsx | 2 +- .../friends/views/friends-bar/FriendBarItemView.tsx | 2 +- 3 files changed, 3 insertions(+), 5 deletions(-) diff --git a/src/common/index.scss b/src/common/index.scss index c181444..393e17b 100644 --- a/src/common/index.scss +++ b/src/common/index.scss @@ -406,10 +406,8 @@ left: 0; height: 100%; width: 100%; - border-radius: $border-radius; - background-color: $light; + background-color: $white; background-repeat: no-repeat; - background-position: center; overflow: hidden; &.border-0 { diff --git a/src/components/catalog/views/page/layout/CatalogLayoutDefaultView.tsx b/src/components/catalog/views/page/layout/CatalogLayoutDefaultView.tsx index b497e4e..e867ddc 100644 --- a/src/components/catalog/views/page/layout/CatalogLayoutDefaultView.tsx +++ b/src/components/catalog/views/page/layout/CatalogLayoutDefaultView.tsx @@ -44,7 +44,7 @@ export const CatalogLayoutDefaultView: FC = props => - { currentOffer.localizationName } + { currentOffer.localizationName } diff --git a/src/components/friends/views/friends-bar/FriendBarItemView.tsx b/src/components/friends/views/friends-bar/FriendBarItemView.tsx index ce2cc1c..94b9291 100644 --- a/src/components/friends/views/friends-bar/FriendBarItemView.tsx +++ b/src/components/friends/views/friends-bar/FriendBarItemView.tsx @@ -65,4 +65,4 @@ export const FriendBarItemView: FC<{ friend: MessengerFriend }> = props => } ); -} +} \ No newline at end of file