1
0
Fork 0

fix(shared): Display of part named in workbench

This commit is contained in:
Joost De Cock 2023-09-15 17:59:32 +02:00
parent 36465d7302
commit 28f82019f6
6 changed files with 32 additions and 10 deletions

View file

@ -111,11 +111,12 @@ export const ButtonFrame = ({
onClick, // onClick handler
active, // Whether or not to render the button as active/selected
accordion = false, // Set this to true to not set a background color when active
dense = false, // Use less padding
}) => (
<button
className={`
btn btn-ghost btn-secondary
w-full mt-2 py-4 h-auto content-start
w-full ${dense ? 'mt-1 py-0 btn-sm' : 'mt-2 py-4 h-auto content-start'}
border-2 border-secondary text-left bg-opacity-20
${accordion ? 'hover:bg-transparent' : 'hover:bg-secondary hover:bg-opacity-10'}
hover:border-secondary hover:border-solid hover:border-2