fix secondary toolbar styling
This commit is contained in:
parent
570424e3e9
commit
140c562519
@ -118,11 +118,13 @@ function ViewerLayout({
|
|||||||
{/* TOOLBAR + GRID */}
|
{/* TOOLBAR + GRID */}
|
||||||
<div className="flex flex-col flex-1 h-full">
|
<div className="flex flex-col flex-1 h-full">
|
||||||
<div className="flex h-12 border-b border-transparent flex-2 w-100">
|
<div className="flex h-12 border-b border-transparent flex-2 w-100">
|
||||||
{toolbars.secondary.map(toolDef => {
|
<div className="flex items-center w-full px-3 bg-primary-dark">
|
||||||
const { id, Component, componentProps } = toolDef;
|
{toolbars.secondary.map(toolDef => {
|
||||||
|
const { id, Component, componentProps } = toolDef;
|
||||||
|
|
||||||
return <Component key={id} id={id} {...componentProps} />;
|
return <Component key={id} id={id} {...componentProps} />;
|
||||||
})}
|
})}
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div className="flex items-center justify-center flex-1 h-full pt-1 pb-2 overflow-hidden bg-black">
|
<div className="flex items-center justify-center flex-1 h-full pt-1 pb-2 overflow-hidden bg-black">
|
||||||
<ViewportGridComp
|
<ViewportGridComp
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user