fix(shared): Display of part named in workbench
This commit is contained in:
parent
36465d7302
commit
28f82019f6
6 changed files with 32 additions and 10 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue