diff --git a/src/components/layout/BottomTabsSection/index.tsx b/src/components/layout/BottomTabsSection/index.tsx index 09b400a..460a8ce 100644 --- a/src/components/layout/BottomTabsSection/index.tsx +++ b/src/components/layout/BottomTabsSection/index.tsx @@ -125,7 +125,7 @@ export default function BottomTabsSection({ data }: { data: Data }) { tabItemRefs.current[i] = el; }} className={styles.bottomTabsSectionContentTab} - onClick={() => setActiveIndex(i)} + onMouseEnter={() => setActiveIndex(i)} > {item.tabName} diff --git a/src/components/layout/HonorGrids/index.module.css b/src/components/layout/HonorGrids/index.module.css index f131ecc..1d2229a 100644 --- a/src/components/layout/HonorGrids/index.module.css +++ b/src/components/layout/HonorGrids/index.module.css @@ -46,6 +46,10 @@ line-height: 1.875rem; } + .honorGridsItemTitle { + font-size: 1.25rem; + } + .honorGridsItemBgleft, .honorGridsItemBgright { width: 4.375rem; diff --git a/src/components/layout/RowAccordion/index.module.css b/src/components/layout/RowAccordion/index.module.css index 820bb68..5465808 100644 --- a/src/components/layout/RowAccordion/index.module.css +++ b/src/components/layout/RowAccordion/index.module.css @@ -83,7 +83,7 @@ .contentItemTitle { - height: 6.25rem; + /* height: 6.25rem; */ font-weight: 500; font-size: 1.5rem; color: #FFFFFF; @@ -109,6 +109,7 @@ justify-content: space-between; /* padding: 3.75rem 0; */ margin-top: 1.25rem; + margin-top: 2.5rem; } .contentItemContent { font-size: 1rem; diff --git a/src/components/layout/TopTabsSection/TopTabs.tsx b/src/components/layout/TopTabsSection/TopTabs.tsx index 3f12187..e23d3b9 100644 --- a/src/components/layout/TopTabsSection/TopTabs.tsx +++ b/src/components/layout/TopTabsSection/TopTabs.tsx @@ -154,6 +154,9 @@ export default function TopTabs({ data, activeIndex, setActiveIndex, className } width: indicatorStyle.width, }} /> +
); diff --git a/src/components/layout/TopTabsSection/index.module.css b/src/components/layout/TopTabsSection/index.module.css index 9376756..ac8c8ed 100644 --- a/src/components/layout/TopTabsSection/index.module.css +++ b/src/components/layout/TopTabsSection/index.module.css @@ -69,6 +69,7 @@ .topTabsTabsScrollCenter { justify-content: center; + /* gap: 130px; */ } .topTabsBottomLine { @@ -77,6 +78,15 @@ height: .125rem; background: #14355C; transition: left 0.25s ease, width 0.25s ease; + z-index: 1; +} +.topTabsBottomLineWhite { + position: absolute; + bottom: -1px; + width: 100%; + height: .125rem; + background: #D5D8DC; + z-index: 0; } .topTabsTabItem { @@ -107,7 +117,7 @@ .topTabsContentLeftHead { margin-bottom: 1.875rem; display: flex; - gap: .625rem; + /* gap: .625rem; */ .topTabsContentLeftTitle { display: flex; @@ -122,6 +132,10 @@ text-align: left; font-style: normal; text-transform: none; + width: 32.5rem; + overflow: hidden; + text-overflow: ellipsis; + white-space: nowrap; } .topTabsContentLeftTitleSub { @@ -132,6 +146,10 @@ text-align: left; font-style: normal; text-transform: none; + width: 32.5rem; + overflow: hidden; + text-overflow: ellipsis; + white-space: nowrap; } } diff --git a/src/components/layout/TopTabsSection/index.tsx b/src/components/layout/TopTabsSection/index.tsx index ed64d8c..ca8b115 100644 --- a/src/components/layout/TopTabsSection/index.tsx +++ b/src/components/layout/TopTabsSection/index.tsx @@ -63,7 +63,7 @@ export default function TopTabsSection({ data, className }: { data: Data, classN