Footer does not stay at the bottom of the page on every screen size

Đang mở Phù hợp với người mới
#188 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

@NYABUTOA đang làm issue này rồi.

Từ ngày 19/11/2026.

  • #189 của @NYABUTOA — đang mở

Đánh giá

Độ khó
2/5
Thời gian dự kiến
1-3 giờ
Mức phù hợp với người mới
78/100
Loại issue
Lỗi
Độ rõ ràng
Đặc tả rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
css, html
Lĩnh vực
frontend

Hướng nghiên cứu

Bắt đầu với snips/base.html, snips/footer.html và .footer trong app/static/css/custom.css để tìm hiểu cách chân trang dùng chung và bố cục trang hoạt động. Kiểm tra Courses, Archive và Semester Management ở các kích thước viewport khác nhau; hoàn tất khi các trang ngắn giữ chân trang ở cạnh dưới cửa sổ, các trang dài đặt chân trang sau nội dung và văn bản chân trang bị xuống dòng không bị cắt.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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: fixed commented out, so it is not pinned to the bottom of the window
  • a fixed height: 85px and line-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.
Ngôn ngữ chính
CSS
Star
0
Fork
9
Merge trung bình
3 ngày 3 giờ
Pull request đã merge (30 ngày)
1

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của BCStudentSoftwareDevTeam/bcsr

Tất cả issue của BCStudentSoftwareDevTeam/bcsr

Issue tương tự

Thêm issue về Web Dev

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.