现在的字体,感觉太宽了,想调窄一点。
求页签高度调整 css
相关帖子
- 其他回帖
-
自用标签页 CSS,供参考。
/* 多行标签页,仅在主窗口有效 */ body:has(#toolbar) { ul.layout-tab-bar { padding: 0 0 0 0.8px; height: auto; flex-wrap: wrap; } ul.layout-tab-bar .item { min-height: 26px; } ul.layout-tab-bar .item[data-type="tab-header"] { border: solid 0.1px var(--b3-list-icon-hover); height: 26px; margin: 0.2px; /* font-family: "霞鹜文楷等宽 GB"; */ } ul.layout-tab-bar .item--focus:after { bottom: -1px; } ul.layout-tab-bar .item__text { min-width: 25px; padding: 0 2px 0 8px; -webkit-mask-image: none; } ul.layout-tab-bar .item--focus>.item__text { font-weight: bold; } .layout__wnd--active .layout-tab-bar .item--focus>.item__text { color: lightseagreen; } .layout__wnd--active:not(:focus-within) .layout-tab-bar .item--focus:after { background-color: grey; /* 失去焦点时变为灰色横条 */ } .layout-tab-bar .item__close { padding: 13px 2px 13px 0; } }
欢迎来到这里!
我们正在构建一个小众社区,大家在这里相互信任,以平等 • 自由 • 奔放的价值观进行分享交流。最终,希望大家能够找到与自己志同道合的伙伴,共同成长。
注册 关于