squish menu items

Reviewed By: elboman

Differential Revision: D47441631

fbshipit-source-id: 5d2e105e46cb36f4ba89df5b9f3ed3c01ede5402
This commit is contained in:
Anton Kastritskiy
2023-07-18 03:52:34 -07:00
committed by Facebook GitHub Bot
parent a5631c8d9f
commit 13c88ccb11

View File

@@ -93,7 +93,7 @@ export const Navbar = withTrackingScope(function Navbar({
justifyContent: 'space-between', justifyContent: 'space-between',
background: theme.backgroundDefault, background: theme.backgroundDefault,
}}> }}>
<Layout.Horizontal style={{gap: 4}}> <Layout.Horizontal style={{gap: 6}}>
<LeftSidebarToggleButton /> <LeftSidebarToggleButton />
<NavbarButton <NavbarButton
icon={MobileOutlined} icon={MobileOutlined}
@@ -103,7 +103,6 @@ export const Navbar = withTrackingScope(function Navbar({
setToplevelSelection('appinspect'); setToplevelSelection('appinspect');
}} }}
/> />
<button>device picker</button> <button>device picker</button>
<NavbarButton label="Screenshot" icon={CameraOutlined} /> <NavbarButton label="Screenshot" icon={CameraOutlined} />
<NavbarButton label="Record" icon={VideoCameraOutlined} /> <NavbarButton label="Record" icon={VideoCameraOutlined} />
@@ -121,7 +120,7 @@ export const Navbar = withTrackingScope(function Navbar({
</div> </div>
)} )}
</Layout.Horizontal> </Layout.Horizontal>
<Layout.Horizontal style={{gap: 4, alignItems: 'center'}}> <Layout.Horizontal style={{gap: 6, alignItems: 'center'}}>
<NavbarButton <NavbarButton
label="Add Plugins" label="Add Plugins"
icon={AppstoreAddOutlined} icon={AppstoreAddOutlined}
@@ -455,6 +454,7 @@ function NavbarButton({
flexDirection: 'column', flexDirection: 'column',
alignItems: 'center', alignItems: 'center',
height: 'auto', height: 'auto',
padding: theme.space.tiny,
}} }}
disabled={disabled}> disabled={disabled}>
<Icon <Icon
@@ -631,7 +631,6 @@ const submenu = css`
height: 56px; height: 56px;
.ant-menu-submenu-title { .ant-menu-submenu-title {
width: 61px !important;
height: 56px !important; height: 56px !important;
padding: 0; padding: 0;
margin: 0; margin: 0;