diff --git a/apps/client/src/stylesheets/style.css b/apps/client/src/stylesheets/style.css index b38c3fb12..d3a4deeda 100644 --- a/apps/client/src/stylesheets/style.css +++ b/apps/client/src/stylesheets/style.css @@ -458,6 +458,7 @@ body.desktop .tabulator-popup-container, } body.desktop .dropdown-menu:not(#context-menu-container) .dropdown-item, +body.desktop .dropdown-menu .dropdown-toggle, body #context-menu-container .dropdown-item > span, body.mobile .dropdown .dropdown-submenu > span { display: flex; diff --git a/apps/client/src/stylesheets/theme-next/base.css b/apps/client/src/stylesheets/theme-next/base.css index b896d4e56..073f31904 100644 --- a/apps/client/src/stylesheets/theme-next/base.css +++ b/apps/client/src/stylesheets/theme-next/base.css @@ -128,6 +128,16 @@ body.backdrop-effects-disabled { font-size: 0.9rem !important; } +/* Use this class for non-legacy menus */ +.dropdown-menu.tn-dropdown-menu { + --menu-item-icon-vert-offset: 0; + white-space-collapse: discard; +} + +.dropdown-menu.tn-dropdown-menu .bx { + margin-inline-end: 6px; +} + .dropdown-menu.tn-dropdown-menu-scrollable { /* Note: scrollable dropdowns does not support submenus */ max-height: 90vh; diff --git a/apps/client/src/widgets/layout/Breadcrumb.css b/apps/client/src/widgets/layout/Breadcrumb.css index 572392757..51fbda52a 100644 --- a/apps/client/src/widgets/layout/Breadcrumb.css +++ b/apps/client/src/widgets/layout/Breadcrumb.css @@ -91,8 +91,6 @@ /* Icon */ li > span:first-child { opacity: .75; - padding-inline-end: 4px; - translate: none; }; } diff --git a/apps/client/src/widgets/react/Dropdown.tsx b/apps/client/src/widgets/react/Dropdown.tsx index d6aab922b..5af2f6228 100644 --- a/apps/client/src/widgets/react/Dropdown.tsx +++ b/apps/client/src/widgets/react/Dropdown.tsx @@ -127,7 +127,7 @@ export default function Dropdown({ id, className, buttonClassName, isStatic, chi