Magickbase / ckb-explorer-public-issues

CKB Explorer Issues
https://explorer.nervos.org/
3 stars 2 forks source link

Refactor: CSS responsive breakpoints #489

Open WhiteMinds opened 11 months ago

WhiteMinds commented 11 months ago
  1. Consider the more reasonable breakpoint values based on the design specifications and use them consistently.
  2. Use SCSS variables to utilize the breakpoint values as constants.

Refs: https://getbootstrap.com/docs/5.0/layout/breakpoints/

A part of the work has been completed, the remaining work content is:

  1. Refactor the CSS breakpoints that do not belong to the currently defined four breakpoint values into one of the four. If there are special requirements, you need to write comments explaining the reason, or add a new breakpoint variable, but this requires a lot of consideration.
WhiteMinds commented 10 months ago

PRs:

  1. https://github.com/Magickbase/ckb-explorer-frontend/pull/178
  2. In Progress