Skip to content

Commit

Permalink
refactor: enhance SidebarMenu styling with max-width and line-clamp c…
Browse files Browse the repository at this point in the history
…lasses
  • Loading branch information
ali-josheghani committed Feb 6, 2025
1 parent 94779bc commit 93452f8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/templates/SidebarMenu.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ function SidebarMenu() {

const tagName = h.tagName;

li.classList.add("!w-auto");
li.classList.add("!w-auto","max-w-[250px]","line-clamp-1");

switch (tagName) {
case "H1":
Expand Down

0 comments on commit 93452f8

Please sign in to comment.