Commit 404db48
fix: stop skill name overflowing/overlapping the description
The Skills accordion rendered .skill-name with white-space:nowrap +
min-width:140px inside a non-wrapping flex <summary>. The flex algorithm
shrinks the name box toward 140px (min-width lowers the min-content floor),
but nowrap keeps the text at full width, so the name's ink overflows its box
and paints over .skill-desc. Confirmed on multiple live fleet sites
(Blender- and Plaid-Developer-Tools), desktop and mobile, expanded state.
CSS-only fix (Skills section only):
- .skill-name: drop white-space:nowrap + min-width:140px; use flex:0 1 12rem
+ min-width:0 so it is an honest, wrapping column.
- .skill-desc: flex:1 1 auto + min-width:0 + overflow-wrap:anywhere (wraps
long code tokens like register_classes_factory instead of overflowing).
- summary: align-items flex-start (top-align name/desc columns); nudge the
disclosure triangle to the first text line.
- <=620px: flex-wrap so the description stacks full-width under the name
(the two-column row is too cramped on phones).
Verified by local build + headless screenshots across Blender, Plaid, and
Docker repos (expanded + collapsed, desktop 1280 + mobile 390): overlap gone,
short-name rows unaffected, collapse and the Rules table unchanged. No
build_site.py / data-schema / DOM / non-Skills changes. Resolves the
confirmed rendering-defect subset of #86 (facelift scope remains open).
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Signed-off-by: fOuttaMyPaint <154358121+TMHSDigital@users.noreply.github.com>1 parent a31ab69 commit 404db48
1 file changed
Lines changed: 12 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
205 | 205 | | |
206 | 206 | | |
207 | 207 | | |
208 | | - | |
| 208 | + | |
209 | 209 | | |
210 | | - | |
| 210 | + | |
211 | 211 | | |
212 | 212 | | |
213 | | - | |
214 | | - | |
| 213 | + | |
| 214 | + | |
| 215 | + | |
| 216 | + | |
| 217 | + | |
| 218 | + | |
| 219 | + | |
| 220 | + | |
| 221 | + | |
| 222 | + | |
215 | 223 | | |
216 | 224 | | |
217 | 225 | | |
| |||
0 commit comments