Skip to content

Commit 3f681c8

Browse files
committed
Minor app bar styling
1 parent f38724e commit 3f681c8

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

packages/firecms_core/src/core/DefaultAppBar.tsx

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ export const DefaultAppBar = function DefaultAppBar({
110110

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

123123
{typeof title === "string"
124124
? <Typography variant="subtitle1"
125-
noWrap
126-
className={cls("transition-all", drawerOpen ? "ml-2" : "")}>
125+
noWrap>
127126
{title}
128127
</Typography>
129128
: title}

packages/firecms_core/src/core/DefaultDrawer.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -164,12 +164,13 @@ export function DrawerLogo({ logo }: {
164164
transition: "padding 100ms cubic-bezier(0.4, 0, 0.6, 1) 0ms",
165165
padding: drawerOpen ? "32px 144px 0px 24px" : "72px 12px 0px 12px"
166166
}}
167-
className={cls("cursor-pointer ml-3 mr-1")}>
167+
className={cls("cursor-pointer rounded ml-3 mr-1")}>
168168

169169
<Tooltip title={"Home"}
170170
sideOffset={20}
171171
side="right">
172172
<Link
173+
className={"block"}
173174
to={navigation.basePath}>
174175
{logo
175176
? <img src={logo}

0 commit comments

Comments
 (0)