-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: mobile ui/ux responsive adjustments #216
Changes from 9 commits
d0655ad
3547355
458711e
3c349ba
7a6615e
7e0852a
b9b09a4
849a49f
106a3de
7341852
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,7 +9,8 @@ export async function ResponsiveSidebar() { | |
transition-all | ||
-translate-x-full duration-500 ease-in-out | ||
data-[state=open]:translate-x-0 data-[state=closed]:lg:translate-x-0 | ||
w-[300px] lg:w-[250px] xl:w-[300px]" | ||
w-[300px] lg:w-[250px] xl:w-[300px] | ||
lg:static absolute" | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Potential conflict in CSS positioning styles. The combination of There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @TopETH -- Maybe it is not related, but can you check very small device screens? I noticed that when we have a device with less than 400px of width is making it look this way on Chat: Screencast.from.05-13-2024.12.26.54.PM.webmThere was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
|
||
> | ||
<SidebarGeneralCategory /> | ||
{/* <h3>Chat history</h3> | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Consider using a more responsive CSS approach for the username display width.
Using fixed pixel calculations can lead to issues on devices with different screen sizes. Consider using CSS flex properties or media queries to adjust the width dynamically based on the viewport size.