diff --git a/resources/css/common.css b/resources/css/common.css index 57ed8aeb7a..91e361dd3e 100644 --- a/resources/css/common.css +++ b/resources/css/common.css @@ -596,23 +596,23 @@ button.menu { color: var(--ls-link-text-color, #24292e); } -div.menu-link:hover, +a.menu-link:hover, button.pull:hover, button.menu:focus { background-color: var(--ls-menu-hover-color, #f4f5f7); } -div.menu-link { +a.menu-link { background-color: var(--ls-primary-background-color, #fff); color: var(--ls-primary-text-color); } -div.menu-link:first-of-type { +a.menu-link:first-of-type { border-top-left-radius: var(--ls-border-radius-low); border-top-right-radius: var(--ls-border-radius-low); } -div.menu-link:last-of-type { +a.menu-link:last-of-type { border-bottom-left-radius: var(--ls-border-radius-low); border-bottom-right-radius: var(--ls-border-radius-low); } diff --git a/src/main/frontend/ui.cljs b/src/main/frontend/ui.cljs index 5ae74b2c64..f6dd41c487 100644 --- a/src/main/frontend/ui.cljs +++ b/src/main/frontend/ui.cljs @@ -76,7 +76,7 @@ (rum/defc menu-link [options child] - [:div.block.px-4.py-2.text-sm.text-gray-700.transition.ease-in-out.duration-150.cursor.menu-link + [:a.block.px-4.py-2.text-sm.text-gray-700.transition.ease-in-out.duration-150.cursor.menu-link options child])