Skip to content

Commit

Permalink
chore: minor ui issues
Browse files Browse the repository at this point in the history
  • Loading branch information
im-adithya committed Sep 10, 2024
1 parent 065f3f2 commit c87aa06
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 7 deletions.
2 changes: 1 addition & 1 deletion frontend/src/components/connections/AppCard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ export default function AppCard({ app }: Props) {

return (
<Card
className="h-full flex flex-col group cursor-pointer"
className="flex flex-col group cursor-pointer"
onClick={() => navigate(`/apps/${app.nostrPubkey}`)}
>
<CardHeader>
Expand Down
8 changes: 6 additions & 2 deletions frontend/src/screens/Home.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,9 @@ function Home() {
<Card>
<CardHeader>
<div className="flex flex-row items-center">
<AlbyHead className="w-12 h-12 rounded-xl p-1 border" />
<div className="flex-1">
<AlbyHead className="w-12 h-12 rounded-xl p-1 border" />
</div>
<div>
<CardTitle>
<div className="flex-1 leading-5 font-semibold text-xl whitespace-nowrap text-ellipsis overflow-hidden ml-4">
Expand All @@ -78,7 +80,9 @@ function Home() {
<Card>
<CardHeader>
<div className="flex flex-row items-center">
<AlbyHead className="w-12 h-12 rounded-xl p-1 border bg-[#FFDF6F]" />
<div className="flex-1">
<AlbyHead className="w-12 h-12 rounded-xl p-1 border bg-[#FFDF6F]" />
</div>
<div>
<CardTitle>
<div className="flex-1 leading-5 font-semibold text-xl whitespace-nowrap text-ellipsis overflow-hidden ml-4">
Expand Down
19 changes: 15 additions & 4 deletions frontend/src/screens/channels/Channels.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ import {
Hotel,
HourglassIcon,
InfoIcon,
Settings2,
Unplug,
} from "lucide-react";
import React from "react";
Expand Down Expand Up @@ -115,10 +116,20 @@ export default function Channels() {
<div className="flex gap-3 items-center justify-center">
<DropdownMenu modal={false}>
<DropdownMenuTrigger asChild>
<Button variant="outline" size="default">
Advanced
<ChevronDown />
</Button>
{isDesktop ? (
<Button
className="hidden md:inline-flex"
variant="outline"
size="default"
>
Advanced
<ChevronDown />
</Button>
) : (
<Button className="md:hidden" variant="outline" size="icon">
<Settings2 className="w-4 h-4" />
</Button>
)}
</DropdownMenuTrigger>
<DropdownMenuContent className="w-56">
<DropdownMenuGroup>
Expand Down

0 comments on commit c87aa06

Please sign in to comment.