Skip to content

Commit

Permalink
fix UI
Browse files Browse the repository at this point in the history
  • Loading branch information
an-lee committed Nov 19, 2024
1 parent 81093e5 commit a9ba2ce
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ export const DocumentConfigButton = (props: { document: DocumentEType }) => {
<Popover open={configOpen} onOpenChange={setConfigOpen}>
<PopoverTrigger asChild>
<Button variant="ghost" size="icon" className="w-6 h-6">
<SettingsIcon className="w-5 h-5" />
<SettingsIcon className="size-4" />
</Button>
</PopoverTrigger>
<PopoverContent side="bottom" align="start">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ export const DocumentEpubRenderer = () => {
<DropdownMenu>
<DropdownMenuTrigger asChild>
<Button variant="ghost" size="icon" className="w-6 h-6">
<MenuIcon className="w-5 h-5" />
<MenuIcon className="size-4" />
</Button>
</DropdownMenuTrigger>
<DropdownMenuContent
Expand Down
2 changes: 1 addition & 1 deletion enjoy/src/renderer/components/layouts/sidebar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -350,7 +350,7 @@ const SidebarHeader = (props: { isCollapsed: boolean }) => {
onSelect={() => setDisplayDepositDialog(true)}
className="cursor-pointer"
>
<span className="flex-1 truncate">${user.balance}</span>
<span className="flex-1 truncate">${user.balance || 0.0}</span>
<CreditCardIcon className="size-4 ml-auto" />
</DropdownMenuItem>
<DropdownMenuSeparator />
Expand Down
2 changes: 1 addition & 1 deletion enjoy/src/renderer/pages/document.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ const DocumentComponent = () => {
</BreadcrumbList>
</Breadcrumb>

<ResizablePanelGroup direction="horizontal" className="p-4">
<ResizablePanelGroup direction="horizontal" className="px-4 pb-4">
<ResizablePanel id="document" order={0}>
<ScrollArea
className={`h-full px-4 pb-6 border rounded-lg shadow-lg ${
Expand Down

0 comments on commit a9ba2ce

Please sign in to comment.