Skip to content

Commit

Permalink
bug: fix small ui bugs
Browse files Browse the repository at this point in the history
  • Loading branch information
p6te committed Jan 2, 2024
1 parent aaf7d9a commit 0d6af67
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/components/Chat/ChatInput/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ export default function ChatInput() {
<EmojiPicker
onEmojiClick={handleEmojiClick}
height={350}
width={350}
width={isMobile ? 250 : 350}
lazyLoadEmojis={true}
skinTonesDisabled={true}
/>
Expand Down
3 changes: 2 additions & 1 deletion src/components/Chat/styled.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@ export const ChatContainer = styled.div`
display: flex;
flex-direction: column;
width: 100%;
border-radius: 40px;
border-top-right-radius: 40px;
border-bottom-right-radius: 40px;
position: relative;
`;

Expand Down
2 changes: 1 addition & 1 deletion src/components/common/Modal/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ export default function Modal({ isOpen, onClose, title, children }: Props) {
</Flexbox>
{children}
<Button outline onClick={onClose}>
close
Close
</Button>
</ModalContainer>
</Background>
Expand Down
2 changes: 1 addition & 1 deletion src/pages/Home/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import useIsMobile from "~/hooks/useIsMobile";

function Home() {
const [errorMessage, setErrorMessage] = useState("");
const [isLoading, setIsLoading] = useState(true);
const [isLoading, setIsLoading] = useState(false);
const [isSearchOpen, setIsSearchOpen] = useState(false);
const [isSettingsOpen, setIsSettingsOpen] = useState(false);
const [isSidebarOpen, setIsSidebarOpen] = useState(true);
Expand Down

0 comments on commit 0d6af67

Please sign in to comment.