eecs485staff / primer-spec

A Jekyll theme for sites with content-heavy pages
https://eecs485staff.github.io/primer-spec/
MIT License
22 stars 12 forks source link

[Enhanced Code Blocks] Use full width in no-line-numbers variant #239

Closed seshrs closed 1 year ago

seshrs commented 1 year ago

Context

Closes #235. Honestly, I'm not yet certain why the width CSS property behaves like this, but I suspect that simply setting a percentage width on a child changes how the parent's width is calculated.

Validation

Before After
Screen Shot 2022-12-25 at 11 56 09 AM Screen Shot 2022-12-25 at 11 55 49 AM
github-actions[bot] commented 1 year ago

The spec from this PR is available at https://preview.sesh.rs/previews/eecs485staff/primer-spec/239/.

(Available until Tue Jan 24 2023.)