mirror of
https://github.com/storytold/artcraft.git
synced 2026-11-05 17:58:55 +00:00
show/hide button icon alignment flex
This commit is contained in:
1 parent
0d6e4310ba
commit
278ae445a8
1 file changed
+1
-1
@@ -14,7 +14,7 @@ export const SidePanel = () => {
|
||||
<div className="relative border-l border-l-ui-panel-border">
|
||||
<button
|
||||
onClick={() => setIsVisible(!isVisible)}
|
||||
className="absolute left-[-25px] top-1/2 rounded-l-lg bg-ui-controls p-2 text-sm text-white transition duration-150 ease-in-out"
|
||||
className="absolute left-[-25px] top-1/2 flex rounded-l-lg bg-ui-controls p-2 align-middle text-sm text-white transition duration-150 ease-in-out"
|
||||
>
|
||||
<FontAwesomeIcon icon={isVisible ? faChevronRight : faChevronLeft} />
|
||||
</button>
|
||||
|
||||
Reference in new issue
Block a user