Commit 8e6f72a
Fix footer layout on pages with flex/grid body (#173)
When the body element uses display:flex or display:grid (like
california-clock-change.html), the footer was being positioned
as a sibling flex item instead of at the bottom. This fix:
- Detects flex/grid layouts on body
- Wraps existing content in a div that preserves the original layout
- Resets body to a vertical flex column
- Footer now always appears at the bottom regardless of parent layout
Co-authored-by: Claude <noreply@anthropic.com>1 parent 8152f0b commit 8e6f72a
File tree
1 file changed
+35
-0
lines changed1 file changed
+35
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
124 | 124 | | |
125 | 125 | | |
126 | 126 | | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
127 | 161 | | |
128 | 162 | | |
| 163 | + | |
129 | 164 | | |
130 | 165 | | |
131 | 166 | | |
| |||
0 commit comments