Skip to content

Instantly share code, notes, and snippets.

@nagisa
Created May 22, 2013 19:29
Show Gist options
  • Save nagisa/5630217 to your computer and use it in GitHub Desktop.
Save nagisa/5630217 to your computer and use it in GitHub Desktop.
(22:22:13) bz: simukis_: max-content can't depend on content height
(22:22:25) bz: simukis_: so can't depend on whether there is a vertical scrollbar
(22:22:57) bz: simukis_: there is no way to win there: either you get a gap or a horizontal scrollbar. :(
(22:23:30) bz: simukis_: I _think_ for overflow-y:scroll we include the vertical scrollbar width and for overflow-y:auto we do not or something like that
(22:24:15) simukis_: bz: but then scrollbar would be visible on short content as well which is undesirable in many cases.
(22:25:00) simukis_: I suspect a lot of people will complain about that in the future.
(22:25:30) bz: simukis_: there's just no sane way to make this work
(22:26:29) bz: simukis_: "people" have contradictory requirements
(22:26:37) bz: simukis_: So life is bad for someone sometime.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment