From 44f32ca142cfa3bf7d11c4cd01bfe369e206a80d Mon Sep 17 00:00:00 2001
From: sowgro <tpoke.ferrari@gmail.com>
Date: Sun, 24 Nov 2024 19:40:15 -0500
Subject: Style small icons

---
 extension/src/components/FolderButton.tsx | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

(limited to 'extension/src/components/FolderButton.tsx')

diff --git a/extension/src/components/FolderButton.tsx b/extension/src/components/FolderButton.tsx
index 2d7cc9e..42e5d60 100644
--- a/extension/src/components/FolderButton.tsx
+++ b/extension/src/components/FolderButton.tsx
@@ -15,11 +15,13 @@ function FolderButton(props: {data: BookmarkTreeNode}) {
 
     return(
         <>
-            <a className={"bookmark draggable"} onClick={() => setFolderOpen(!folderOpen)}>
-                <img alt="Folder icon" src={folderOpen ? folderIconOpen : folderIcon}/>
+            <a className="bookmark draggable" onClick={() => setFolderOpen(!folderOpen)}>
+                <div className="icon-box">
+                    <img alt="Folder icon" src={folderOpen ? folderIconOpen : folderIcon}/>
+                </div>
                 <span>{props.data.title}</span>
             </a>
-            { folderOpen
+            {folderOpen
                 && props.data.children
                 && props.data.children.length > 0
                 && (<FolderBody data={props.data}/>)}
-- 
cgit v1.2.3

