Commit ccc3804
committed
fix(bench): align the architecture switch with the content column
The switch is inserted as a sibling of `<main class="container">`, so it
sat in the body with no width constraint and rendered flush against the
viewport edge while everything below it was centred in a 920px column.
It now carries `container` as well. Its own margin has to name the auto
sides itself: `.container` is declared earlier in the sheet, so at equal
specificity the `.arch-switch` margin wins and a plain `0 0 0.5rem`
would have left it flush again.1 parent f69818c commit ccc3804
1 file changed
Lines changed: 5 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
155 | 155 | | |
156 | 156 | | |
157 | 157 | | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
158 | 161 | | |
159 | 162 | | |
160 | 163 | | |
161 | | - | |
| 164 | + | |
162 | 165 | | |
163 | 166 | | |
164 | 167 | | |
| |||
880 | 883 | | |
881 | 884 | | |
882 | 885 | | |
883 | | - | |
| 886 | + | |
884 | 887 | | |
885 | 888 | | |
886 | 889 | | |
| |||
0 commit comments