Coder Social home page Coder Social logo

Comments (6)

D-xuanmo avatar D-xuanmo commented on May 24, 2024

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

from nuxtjs-wordpress.

BG7ZAG avatar BG7ZAG commented on May 24, 2024

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

from nuxtjs-wordpress.

BG7ZAG avatar BG7ZAG commented on May 24, 2024

还有就是列表的多行超出隐藏的那个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;
  }

from nuxtjs-wordpress.

D-xuanmo avatar D-xuanmo commented on May 24, 2024

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

from nuxtjs-wordpress.

BG7ZAG avatar BG7ZAG commented on May 24, 2024

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

from nuxtjs-wordpress.

D-xuanmo avatar D-xuanmo commented on May 24, 2024

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

from nuxtjs-wordpress.

Related Issues (6)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.