Footer does not stay at the bottom of the page on every screen size
评估
- 难度
- 2/5
- 预计耗时
- 1-3 小时
- 新手友好度
- 78/100
- Issue 类型
- 缺陷
- 描述清晰度
- 描述清楚
- 活跃度
- 活跃
- 技术栈
- css, html
- 领域
- frontend
调研方向
从 snips/base.html、snips/footer.html 和 app/static/css/custom.css 中的 .footer 开始,追踪共享页脚和页面布局的工作方式。在不同的视口尺寸下检查 Courses、Archive 和 Semester Management;完成的标准是短页面将页脚保持在窗口底部,长页面将页脚放在内容之后,且换行的页脚文本不会被裁切。
由索引模型根据 Issue 内容生成。
描述
Problem
The footer ("Issues? Contact: System Support / Created & Designed by the Student Software Development Team.") is not laid out responsively. On a taller browser window or a page with little content, it sits partway up the page with an empty grey area below it instead of sitting at the bottom of the window. Seen on the Semester Management page.
Cause
snips/footer.html is included at the end of snips/base.html, and .footer in app/static/css/custom.css is styled with:
position: fixedcommented out, so it is not pinned to the bottom of the window- a fixed
height: 85pxandline-height: 30px margin-top: 50px
There is no rule making the page at least as tall as the window (for example a sticky-footer layout), so the footer ends where the content ends. The fixed height may also cut off the text on narrow screens, where the two lines can wrap.
Expected
- The footer sits at the bottom of the window when the page is short, and below the content when the page is long.
- It looks right on small, medium and large screens, with no clipped text.
Notes
- The footer is shared by every page through
base.html, so the fix should be checked on a few pages, such as Courses, Archive and Semester Management. - A screenshot of the Semester Management page showing the empty space below the footer should be attached to this issue.
- 主要语言
- CSS
- 星标
- 0
- 派生
- 9
- 平均合并
- 3 天 3 小时
- 30 天内合并 PR
- 1
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
BCStudentSoftwareDevTeam/bcsr 的其他 Issue
-
Give more detail on expected behavior pertaining to AI usage可能已有人在做 @eboselea 于 11 天前认领。 未关闭documentation
难度 2/5 1-3 小时 新手友好度 68/100
BCStudentSoftwareDevTeam/bcsr#176 · 已指派 1 人 ·
-
Restrict Syllabus Dropbox to a Single File可能已有人在做 @munsakad 于 40 天前认领。 未关闭bug
难度 2/5 1-3 小时 新手友好度 62/100
BCStudentSoftwareDevTeam/bcsr#166 · 已指派 1 人 ·
-
Fix file upload path when parent directories have spaces可能重新可做 @AbdouLayeCDiop 于 36 天前认领,目前没有进行中的 PR。 未关闭good first issue
难度 2/5 1-3 小时 新手友好度 68/100
BCStudentSoftwareDevTeam/bcsr#98 · 2 条评论 · 已指派 1 人 ·
-
Keep Footer Positioned at the Bottom of the Page可能已有人在做 @NYABUTOA 于 39 天前认领。 未关闭good first issue
难度 2/5 1-3 小时 新手友好度 72/100
BCStudentSoftwareDevTeam/bcsr#96 · 1 条评论 · 已指派 1 人 ·
-
Align Deadline Creation Input Fields + Button可能已有人在做 @AbdouLayeCDiop 于 1 天前认领。 未关闭
难度 1/5 1 小时以内 新手友好度 20/100
BCStudentSoftwareDevTeam/bcsr#191 ·
查看 BCStudentSoftwareDevTeam/bcsr 的全部 Issue
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 67/100
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 78/100
opensro-dev/opensro#4949 ·
维护者通常 1 天内回复
-
[Bug] 查看密码未关闭bug
难度 2/5 1-3 小时 新手友好度 65/100
AnalyseDeCircuit/oxideterm#889 ·
维护者通常 1 天内回复
-
bug impeccable priority: low
难度 2/5 1-3 小时 新手友好度 82/100
nledford/Ladderback#1897 ·
维护者通常 1 天内回复
-
[ui] 自創球員 (投手): pick 球種 at creation (直球 fixed + up to 2 more), trade-off line, shown on the card未关闭area:ui P1 status:doing
难度 2/5 1-3 小时 新手友好度 74/100
sunososobro-hub/cloudball#1153 · 2 条评论 ·
维护者通常 1 天内回复