Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

为什么链接里设置了,首页没显示呢? #10

Closed
BG7ZAG opened this issue Aug 10, 2019 · 6 comments
Closed

为什么链接里设置了,首页没显示呢? #10

BG7ZAG opened this issue Aug 10, 2019 · 6 comments

Comments

@BG7ZAG
Copy link
Contributor

BG7ZAG commented Aug 10, 2019

刚更新的最新版,后台链接里之前有设置了,但首页没显示

@D-xuanmo
Copy link
Owner

D-xuanmo commented Aug 11, 2019

@hlbj105 在链接管理增加一个分类,命名为首页,如果需要在首页展示的就勾选一下这个分类

@BG7ZAG
Copy link
Contributor Author

BG7ZAG commented Aug 11, 2019

直接默认显示全部就可以吗?每个链接编辑里面有一个设为私密链接的选项,设为私密链接就不显示了

@BG7ZAG
Copy link
Contributor Author

BG7ZAG commented Aug 11, 2019

还有就是列表的多行超出隐藏的那个height应该不用设置,
global.scss

.summary {
    display: -webkit-box;
    overflow: hidden;
    // height: 80px;
    -webkit-box-orient: vertical;
    word-break: break-all;
    text-overflow: ellipsis;
    -webkit-line-clamp: 3;
    line-height: 1.8;
  }

@D-xuanmo
Copy link
Owner

@hlbj105
问题1:主要是考虑链接分类方便管理,目前考虑到可能内页的友情链接可能也会放在这里管理,所以就加上了分类
问题2:之所以列表多行隐藏加上一个高度主要是为了考虑到firefox非webkit内核浏览器的兼容

@BG7ZAG
Copy link
Contributor Author

BG7ZAG commented Aug 11, 2019

这样啊,不过这个高度是不是该小一点?都漏出下面的文字了,一直没做过Firefox的兼容。。。

@BG7ZAG BG7ZAG closed this as completed Aug 11, 2019
@D-xuanmo
Copy link
Owner

@hlbj105 已修复,改为scss自动计算高度

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants