Skip to content

Commit

Permalink
fix(snippets): fix text overlapping issue @Dynamic Left Sidebar (#802)
Browse files Browse the repository at this point in the history
  • Loading branch information
Ender-Wang authored Jul 13, 2024
1 parent 8467476 commit 8875425
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion resources/snippets.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
},
{
Expand Down

0 comments on commit 8875425

Please sign in to comment.