fix: toolbar unnecessarily eats too much width (#2924)
This commit is contained in:
parent
23a8891e0e
commit
1e17c1967b
@ -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…
x
Reference in New Issue
Block a user