Handsome 主题最近更新的 7 版本,最新小版本为 7.1。

  1. 更新7.1后导航有个小bug,就是太长的文本被自动换行了

Handsome7.1-navbar.png
修复也很简单,加入自定义 CSS 就能解决

@media screen and (min-width:992px) {
    .app-aside-dock .app-aside .navi > ul > li > a {
        display: flex;
        flex-direction: column;
        justify-content: flex-end;
    }
    .app-aside-dock .app-aside .navi > ul > li > a > span {
        white-space: nowrap;
    }
}
  1. 置顶导航栏居中
@media screen and (min-width:992px) {
    .app-aside-dock .navi-wrap nav {
        display: flex;
    }
    .app-aside-dock .navi-wrap .nav {
        margin: 0 auto;
    }
}
搬瓦工年付$187机房套餐补货了,电信联通优化,512M内存/500G流量/1G带宽,建站稳定,优惠码:BWH1ZBPVK,【点击购买】!
搬瓦工年付$28CN2高速线路,512M内存/500G流量/1G带宽,电信联通优化,延迟低,速度快,建站稳定,优惠码同上,【点击购买】!
Last modification:August 11th, 2020 at 03:00 pm
If you think my article is useful to you, please feel free to appreciate