Skip to content

Commit

Permalink
fix: infobox-tabber-overflow-repair
Browse files Browse the repository at this point in the history
  • Loading branch information
ajdgg committed Nov 12, 2024
1 parent ad26c14 commit c38d57b
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/SkinCitizen_CSS/SkinCitizen_CSS.less
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
@import './modules/fix-site-icon.less';
@import './modules/hide-sub.less';
@import './modules/HYYouShouYan.less';
@import './modules/infobox-tabber-overflow-repair.less';
@import './modules/mobile-style.less';
@import './modules/pages-style-repair.less';
@import './modules/page-width.less';
Expand Down
18 changes: 18 additions & 0 deletions src/SkinCitizen_CSS/modules/infobox-tabber-overflow-repair.less
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
// 修复tabber扩展在infobox中溢出的问题 by awajie
.infobox {
tbody {
> tr:nth-child(1) {
td {
display: flex;
flex-direction: column;
overflow-x: auto;
.tabber__header .tabber__header__prev::after,
.tabber__header .tabber__header__next::after {
display: block;
width: 100%;
height: 100%;
}
}
}
}
}

0 comments on commit c38d57b

Please sign in to comment.