Browse Source

Add explanatory comment to details box-sizing fix

merge-requests/4/head
Deimos 6 years ago
parent
commit
9e265a57d4
  1. 2
      tildes/scss/_base.scss

2
tildes/scss/_base.scss

@ -59,6 +59,8 @@ code {
line-height: 1rem; line-height: 1rem;
} }
// Fixes a Chrome bug that seems to treat children of <details> as having
// box-sizing: content-box. See Known issues: https://caniuse.com/#feat=details
details * { details * {
box-sizing: border-box; box-sizing: border-box;
} }

Loading…
Cancel
Save