Skip to content

Commit

Permalink
Minor app bar styling
Browse files Browse the repository at this point in the history
  • Loading branch information
fgatti675 committed Dec 12, 2024
1 parent f38724e commit 3f681c8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
5 changes: 2 additions & 3 deletions packages/firecms_core/src/core/DefaultAppBar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ export const DefaultAppBar = function DefaultAppBar({

{navigation && <div className="mr-8 hidden lg:block">
<ReactLink
className="visited:text-inherit visited:dark:text-inherit"
className="visited:text-inherit visited:dark:text-inherit block"
to={navigation?.basePath ?? "/"}
>
<div className={"flex flex-row gap-4"}>
Expand All @@ -122,8 +122,7 @@ export const DefaultAppBar = function DefaultAppBar({

{typeof title === "string"
? <Typography variant="subtitle1"
noWrap
className={cls("transition-all", drawerOpen ? "ml-2" : "")}>
noWrap>
{title}
</Typography>
: title}
Expand Down
3 changes: 2 additions & 1 deletion packages/firecms_core/src/core/DefaultDrawer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -164,12 +164,13 @@ export function DrawerLogo({ logo }: {
transition: "padding 100ms cubic-bezier(0.4, 0, 0.6, 1) 0ms",
padding: drawerOpen ? "32px 144px 0px 24px" : "72px 12px 0px 12px"
}}
className={cls("cursor-pointer ml-3 mr-1")}>
className={cls("cursor-pointer rounded ml-3 mr-1")}>

<Tooltip title={"Home"}
sideOffset={20}
side="right">
<Link
className={"block"}
to={navigation.basePath}>
{logo
? <img src={logo}
Expand Down

0 comments on commit 3f681c8

Please sign in to comment.