fix: 子選單首項去頂線

This commit is contained in:
2026-06-02 10:51:29 +08:00
parent 7708a0e632
commit 75fe70b8e7
+7
View File
@@ -265,6 +265,13 @@ nav a {
list-style: none; list-style: none;
} }
/* 子選單第一項(如淪陷瞬間/傳奇的轉折)上方不畫分隔線 */
.portal-nav .portal-submenu > li.portal-nav__subgroup:first-child {
margin-top: 0;
padding-top: 0;
border-top: none;
}
.portal-nav .portal-submenu .portal-nav__subgroup:hover { .portal-nav .portal-submenu .portal-nav__subgroup:hover {
z-index: 4; z-index: 4;
} }