github: shadowy octopus with the head of a robot, emblazoned with the Dreamwidth swirl (Default)
github ([personal profile] github) wrote in [site community profile] changelog2020-01-20 09:51 pm

[dreamwidth/dw-free] 094e44: Styles: Fix pervasive sideways slop in "summertime...

Branch: refs/heads/master
Home: https://github.com/dreamwidth/dw-free
Commit: 094e440238501567818077211f5bae8fbd9a154d
https://github.com/dreamwidth/dw-free/commit/094e440238501567818077211f5bae8fbd9a154d
Author: Nick Fagerlund <nick.fagerlund@gmail.com>
Date: 2020-01-20 (Mon, 20 Jan 2020)

Changed paths:
M styles/summertime/layout.s2

Log Message:
-----------
Styles: Fix pervasive sideways slop in "summertime" layout

If you're going to add padding to a 100% wide object, you need to make sure it's
using border-box sizing; otherwise the width comes out to something like
`calc(100% + 8px)` and it overflows sideways.