You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Give every sponsorship page the same content width (#397)
* Give every sponsorship page the same content width
The sidebar shell already places page content inside a container + column, but
several sponsorship templates wrapped their content in a second `.container`
(its own max-width + padding), while the list did not. So the sponsor list and
the tier list rendered at different widths and the column visibly jumped when
moving between them via the rail.
Drop the nested container from the tier list/form/delete, the sponsor detail,
and the sponsor delete pages so every sponsorship page fills the content column
uniformly.
553 tests pass, 100% coverage; lint clean.
* Stop wide tables from widening the content column
Removing the nested containers made the sponsor list and tier list *structure*
match, but the sponsor list still rendered wider: its ~11-column table is a
wide flex-item child, and a Bootstrap .col defaults to min-width:auto, so the
column grew to fit the table instead of staying at its grid share. The narrow
tier table left its column at the normal width, hence the jump.
Give the shell's content column `min-width: 0` so it keeps its grid share
regardless of content, and wrap the wide sponsor and team tables in
.table-responsive so they scroll inside the column instead of overflowing.
553 tests pass, 100% coverage; lint clean.
Copy file name to clipboardExpand all lines: templates/team/index.html
+58-56Lines changed: 58 additions & 56 deletions
Original file line number
Diff line number
Diff line change
@@ -89,63 +89,65 @@ <h1 class="display-4">
89
89
{% blocktranslate count counter=unled_count %}{{ counter }} team has no lead assigned.{% plural %}{{ counter }} teams have no lead assigned.{% endblocktranslate %}
0 commit comments