Don't use viewport dimensions for spacing
未關閉
priority:low
type:enhancement
- 主要語言
- HTML
- 星號
- 0
- 分支
- 0
- PR 合併指標
- 30 天內沒有已合併 PR
描述
I have learned this is bad practice! We should use em/rem instead :smile:
貢獻指南
這個儲存庫沒有索引到貢獻指南
研究方向
No files or tests are named. Start by locating the site’s CSS/style sources and search for spacing rules using viewport-based units (vw/vh), then identify the affected layout declarations. Replace those spacing values with em/rem where appropriate and check nearby markup for consistency. The issue is done when spacing is expressed with em/rem and no viewport dimension units are used for spacing in the relevant styling.
由索引模型根據 Issue 內容生成。
評估
- 技術堆疊
- css
- 領域
- frontend
- Issue 類型
- 重構
- 難度
- 2/5
- 預估耗時
- 1-3 小時
- 活躍度
- 停滯
- 描述清晰度
- 基本清楚
- 新手友好度
- 49/100