cloudfour / cloudfour/cloudfour.com-patterns

Bug: AlignWide content clipped

未关闭
#1,916 2 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
SCSS
星标
26
派生
3
平均合并
19 小时 32 分钟
30 天内合并 PR
81

描述

At some viewport sizes, content with the `alignwide` class is being clipped by the viewport. In the attached screenshot, the viewport is 1265px wide, but the `alignwide` content is 1280px wide. I'm guessing the `vw` calculations are off somehow — perhaps due to visible scrollbars?

Screen Shot 2022-07-07 at 9 53 27 AM

贡献指南

打开贡献指南

调研方向

重现报告的 1265px viewport 裁剪问题,并检查 `alignwide` 类的样式,重点关注 `vw` 计算和滚动条宽度。在受影响的尺寸下 alignwide 内容保持在 viewport 内即表示完成。

由索引模型根据 Issue 内容生成。

评估

技术栈
scss
领域
frontend
Issue 类型
缺陷
难度
2/5
预计耗时
1-3 小时
活跃度
停滞
描述清晰度
基本清楚
新手友好度
45/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。