GithubHelp home page GithubHelp logo

文章缩略图分辨率问题 about mdr HOT 1 CLOSED

RamSong avatar RamSong commented on May 31, 2024
文章缩略图分辨率问题

from mdr.

Comments (1)

FlyingSky-CN avatar FlyingSky-CN commented on May 31, 2024

在 MDr 的设计上,文章封面图的长宽比本就有合适的区间,图片过长竖屏观感不好,图片过宽横屏观感不好。这是一个已知的问题,但是 MDr 并没有强制要求封面图的长宽比,而是交由使用者决定。

为文章封面图对不同的屏幕做出相应的适配或许是必要的,但是咱不是很认同题给的解决方案(指为移动端/电脑端设置不同的封面图),而其中的一个原因是繁琐。

咱的想法是对不同的屏幕设置合适的长宽比,同一张封面图在不同屏幕上由前端裁切至合适的程度。

from mdr.

Related Issues (20)

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.