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

This commit is contained in:
David Luzar 2021-02-04 16:52:16 +01:00 committed by GitHub
parent 23a8891e0e
commit 1e17c1967b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 2 deletions

View File

@ -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={{

View File

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