Skip to content
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(web): update button menu in mobile screen #261

Merged
merged 6 commits into from
May 8, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions apps/web/components/menu.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -30,17 +30,17 @@ export default function Menu() {
</nav>
</div>
<div className="flex items-center gap-x-1">
<Button asChild variant="link">
<Button className="bg-black hover:bg-black/80" rippleColor="light" asChild>
<a href="https://github/com/OpenLab-dev/openui">
Github
</a>
</Button>
</div>
<Button size="icon" type="button">
<span className="absolute transform -translate-x-1/2 -translate-y-1/2 top-1/2 left-1/2">
<Button variant="ghost" size="icon" className="relative lg:hidden ml-auto">
<span className=" absolute transform -translate-x-1/2 -translate-y-1/2 top-1/2 left-1/2">
<svg
xmlns="http://www.w3.org/2000/svg"
className="w-6 h-6"
className="size-6"
fill="none"
stroke="currentColor"
strokeWidth={2}
Expand Down
Loading