Skip to content

Commit e53473c

Browse files
rrrutledgeclaude
andcommitted
Fix bio text layout, remove speaker with no bio/photo
Per Russell's review feedback: - Bio text (including bulleted lists, e.g. Dave Nielsen's) reverted to full page width once it ran past the bottom of its speaker's photo, since .speaker-bio relies on a plain CSS float. Add an opt-in .speaker-bio--aligned modifier (position: relative + absolutely positioned photo) that keeps bio text indented beside the photo for the entry's full height, and apply it across all Speaker Bios entries on this page. Scoped to its own class so other event pages' existing float-based layout is untouched. - Remove Elspeth Minty, who had neither a bio nor a photo (just a "TBD" placeholder), from both the agenda byline and the Speaker Bios section. Her session remains listed under its 3 other panelists (Mimi Flynn, Mark Paulsen, Peter Smulovics). Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_017SPj8rbpfP66MiDDD2T9zo
1 parent 8d49ac6 commit e53473c

2 files changed

Lines changed: 74 additions & 52 deletions

File tree

‎assets/scss/_custom.scss‎

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -273,6 +273,37 @@ ol.breadcrumb {
273273
}
274274
}
275275

276+
// Opt-in variant: keeps bio text (including lists) indented beside the photo
277+
// for the entire height of the entry, instead of the float-based layout's
278+
// default behavior — once text runs past the photo's bottom edge, a plain
279+
// float lets the remainder revert to full container width. Scoped to its own
280+
// modifier class so it doesn't change the float-based layout other
281+
// speaker-bio entries on the site still use.
282+
.speaker-bio--aligned {
283+
position: relative;
284+
min-height: 240px;
285+
padding-left: 280px;
286+
}
287+
288+
.speaker-bio--aligned img.speaker-photo {
289+
position: absolute;
290+
top: 0;
291+
left: 0;
292+
float: none;
293+
margin: 0;
294+
}
295+
296+
@media (max-width: 576px) {
297+
.speaker-bio--aligned {
298+
padding-left: 0;
299+
min-height: 0;
300+
}
301+
302+
.speaker-bio--aligned img.speaker-photo {
303+
position: static;
304+
}
305+
}
306+
276307
.content img {
277308
display: block;
278309
margin: 2rem auto;

0 commit comments

Comments
 (0)