fix: toolbar unnecessarily eats too much width (#2924)

net-stats
David Luzar 4 years ago committed by GitHub
parent 23a8891e0e
commit 1e17c1967b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -46,7 +46,7 @@ export const MobileMenu = ({
renderCustomFooter,
viewModeEnabled,
}: MobileMenuProps) => {
const renderFixedSideContainer = () => {
const renderToolbar = () => {
return (
<FixedSideContainer side="top" className="App-top-bar">
<Section heading="shapes">
@ -136,7 +136,7 @@ export const MobileMenu = ({
};
return (
<>
{!viewModeEnabled && renderFixedSideContainer()}
{!viewModeEnabled && renderToolbar()}
<div
className="App-bottom-bar"
style={{

@ -226,6 +226,8 @@
.App-top-bar {
z-index: var(--zIndex-layerUI);
display: flex;
justify-content: center;
}
.App-bottom-bar {

Loading…
Cancel
Save