From 88754250f30a01b7ea48e383ea285bc3ae2fd261 Mon Sep 17 00:00:00 2001 From: Rui Wang <33310255+Ender-Wang@users.noreply.github.com> Date: Sat, 13 Jul 2024 18:55:09 +0200 Subject: [PATCH] fix(snippets): fix text overlapping issue @`Dynamic Left Sidebar` (#802) --- resources/snippets.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/snippets.json b/resources/snippets.json index 1dabf708..53f3e501 100644 --- a/resources/snippets.json +++ b/resources/snippets.json @@ -74,7 +74,7 @@ { "title": "Dynamic Left Sidebar", "description": "Make the left sidebar dynamic, so it only shows when you hover over it and pushes the main content to the right.", - "code": "#Desktop_LeftSidebar_Id {\n width: 0px;\n transition: width 0.5s ease, padding-left 0.5s ease;\n z-index: 12;\n}\n#Desktop_LeftSidebar_Id:hover {\n padding-left: 8px;\n width: 280px;\n}\n:root {\n margin-left: -8px;\n}\nsvg[data-encore-id='icon']{\n overflow: visible;\n}\nspan{\n white-space: nowrap;\n}", + "code": "#Desktop_LeftSidebar_Id {\n width: 0px;\n transition: width 0.5s ease, padding-left 0.5s ease;\n z-index: 12;\n}\n#Desktop_LeftSidebar_Id:hover {\n padding-left: 8px;\n width: 280px;\n}\n:root {\n margin-left: -8px;\n}\nsvg[data-encore-id='icon']{\n overflow: visible;\n}\n#Desktop_LeftSidebar_Id span {\n white-space: nowrap;\n}", "preview": "resources/assets/snippets/Dynamic-Left-Sidebar.gif" }, {