Git Product home page Git Product logo

zhihu-heartbeat's Issues

UI suggestions

几个小建议

  1. pangu.js 强迫症福音
  2. 引用的想法用卡片样式(边框和阴影),和知乎网页版更像
  3. 滚动条
  4. 头像和用户名(可以更像网页版)

貌似 1 和 3 在 Mac 上都不是问题😓

Suggestion Now
affter Now

之前以为这个项目已经不维护了,就没有 fork 自己下载了源码改了一下,现在估计 conflict 得很严重了。。。

可能有用的代码

For point 2

.images, .video {
    line-height: 0;
    margin-top: .75rem;
    width: 100%;
    text-align: center;
    border-radius: 4px;
    overflow: hidden;
}

.single-img, .video .thumbnail {
    max-width: 100%;
    max-height: 250px;
    border-radius: 4px;
}

.origin-pin {
    font-size: 16px;
    margin: .2rem;
    margin-top: 1rem;
    padding: 1rem;
    border: 1px solid #464646;
    border-radius: 4px;
    box-shadow: 2px 2px 4px rgba(80, 80, 80, 0.25);
}

希望添加的 Feature

  1. 点开多图想法的图片时,支持左右键切换图片
  2. 支持上下键或者 J/K 键来上下滑动 Feed 流
  3. 支持 Esc 关闭点开的视频/图片

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.