From e097c262b9b3c0705e261c9aea821271a363790b Mon Sep 17 00:00:00 2001 From: Emerson Valentim Date: Fri, 17 Jun 2022 02:19:43 -0300 Subject: [PATCH] fix: update styles from scroll and avatar --- src/pages/Room/components/Chat/styled.ts | 7 +++++++ src/pages/Room/components/UserInfo/styled.ts | 4 ++++ 2 files changed, 11 insertions(+) diff --git a/src/pages/Room/components/Chat/styled.ts b/src/pages/Room/components/Chat/styled.ts index f0f6efd..5fc4d3b 100644 --- a/src/pages/Room/components/Chat/styled.ts +++ b/src/pages/Room/components/Chat/styled.ts @@ -31,6 +31,13 @@ const Messages = styled(Box)` overflow: scroll; padding: 0 1em 0 1em; + + &::-webkit-slider-thumb { + -webkit-appearance: none; + width: 10px; + height: 10px; + border: 1px solid black; + } `; const ChatMessage = styled(Text)<{ color: string; isOwner: boolean }>` diff --git a/src/pages/Room/components/UserInfo/styled.ts b/src/pages/Room/components/UserInfo/styled.ts index 3f76078..e7895c3 100644 --- a/src/pages/Room/components/UserInfo/styled.ts +++ b/src/pages/Room/components/UserInfo/styled.ts @@ -10,6 +10,10 @@ const Container = styled.div` width: fit-content; border-radius: 10px; + + img { + height: 250px; + } `; const Title = styled.p`