@@ -51,17 +51,17 @@ const hasChildren = children.length > 0;
5151 data-dropdown-trigger
5252 >
5353 { link .icon && (
54- <Icon name = { link .icon } class = " text-[1.1rem] lg:mr-2 flex- shrink-0" />
54+ <Icon name = { link .icon } class = " text-[1.1rem] lg:mr-2 shrink-0" />
5555 )}
5656 <span class = " truncate hidden lg:inline" >{ getLocalizedName (link .name )} </span >
5757 <Icon
5858 name = " material-symbols:keyboard-arrow-down-rounded"
59- class = " text-[1.25rem] transition-transform duration-200 dropdown-arrow ml-1 flex- shrink-0 hidden lg:inline"
59+ class = " text-[1.25rem] transition-transform duration-200 dropdown-arrow ml-1 shrink-0 hidden lg:inline"
6060 />
6161 </button >
6262
6363 <div class = " dropdown-menu" data-dropdown-menu >
64- <div class = " dropdown-content bg-[var (--float-panel-bg)] rounded-[var (--radius-large)] shadow-xl dark:shadow-none border border-black/5 dark:border-white/10 p-2 min-w-[12rem] " >
64+ <div class = " dropdown-content bg-(--float-panel-bg) rounded-(--radius-large) shadow-xl dark:shadow-none border border-black/5 dark:border-white/10 p-2 min-w-48 " >
6565 { children .map ((child ) => (
6666 <a
6767 href = {
@@ -73,7 +73,7 @@ const hasChildren = children.length > 0;
7373 ? " noopener noreferrer"
7474 : null
7575 }
76- class = " dropdown-item flex items-center justify-between px-4 py-2.5 hover:text-[var (--primary)] hover:bg-[var (--btn-plain-bg-hover)] transition-colors duration-150 font-medium rounded-lg"
76+ class = " dropdown-item flex items-center justify-between px-4 py-2.5 hover:text-(--primary) hover:bg-(--btn-plain-bg-hover) transition-colors duration-150 font-medium rounded-lg"
7777 aria-label = { child .name }
7878 >
7979 <div class = " flex items-center" >
@@ -105,13 +105,13 @@ const hasChildren = children.length > 0;
105105 class = " btn-plain scale-animation rounded-lg h-11 font-bold w-11 lg:w-auto lg:px-5 active:scale-95 flex items-center justify-center lg:justify-start whitespace-nowrap"
106106 >
107107 { link .icon && (
108- <Icon name = { link .icon } class = " text-[1.1rem] lg:mr-2 flex- shrink-0" />
108+ <Icon name = { link .icon } class = " text-[1.1rem] lg:mr-2 shrink-0" />
109109 )}
110110 <span class = " truncate hidden lg:inline" >{ getLocalizedName (link .name )} </span >
111111 { link .external && (
112112 <Icon
113113 name = " fa7-solid:arrow-up-right-from-square"
114- class = " text-[0.875rem] transition -translate-y-[1px] ml-1 text-black/[0.2] dark:text-white/[0.2] flex- shrink-0 hidden lg:inline"
114+ class = " text-[0.875rem] transition -translate-y-px ml-1 text-black/20 dark:text-white/20 shrink-0 hidden lg:inline"
115115 />
116116 )}
117117 </a >
0 commit comments