Skip to content

Commit fcb4aec

Browse files
author
shrouxm
committed
feat: minor styling fixes
1 parent 6cd8f42 commit fcb4aec

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

paljs2/src/components/app-sidebar.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ const DocTitle = ({ id }: { id: string }) => {
7272
return <DocTitleContent doc={doc} />;
7373
};
7474

75-
const LinkDeviceButton = () => {
75+
export const LinkDeviceButton = () => {
7676
return (
7777
<Button
7878
variant="ghost"
@@ -113,7 +113,7 @@ export function AppSidebar({ children }: React.PropsWithChildren) {
113113
<SidebarFooter />
114114
</Sidebar>
115115
<SidebarInset>
116-
<header className="flex items-center shrink-0 gap-2 border-b p-2">
116+
<header className="flex justify-between items-center shrink-0 gap-2 border-b p-2">
117117
<SidebarTrigger className="-ml-1" />
118118
<Show if={() => appState.selectedDoc.get() != null}>
119119
{() => (
@@ -123,7 +123,7 @@ export function AppSidebar({ children }: React.PropsWithChildren) {
123123
</>
124124
)}
125125
</Show>
126-
<LinkDeviceButton />
126+
{/* <LinkDeviceButton /> */}
127127
</header>
128128
{children}
129129
</SidebarInset>

paljs2/src/components/ui/sidebar.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -504,7 +504,7 @@ const SidebarMenuItem = React.forwardRef<
504504
<li
505505
ref={ref}
506506
data-sidebar="menu-item"
507-
className={cn('group/menu-item relative', className)}
507+
className={cn('group/menu-item relative list-none', className)}
508508
{...props}
509509
/>
510510
));

0 commit comments

Comments
 (0)