« get me outta code hell

Make narrow-width size look nicer - scratchrlol - Simple HTML-based Scratch client
summary refs log tree commit diff
path: root/index.js
diff options
context:
space:
mode:
authorFlorrie <towerofnix@gmail.com>2018-11-14 16:49:43 -0400
committerFlorrie <towerofnix@gmail.com>2018-11-14 16:49:43 -0400
commit9d06adb6966a4c7ad1c7605f49c2cf30755bc928 (patch)
tree51f64b13a9b5e2de09eb7b4d919a25ece7e16371 /index.js
parent54179415b7a4835903fbcb129159266a73733fdc (diff)
Make narrow-width size look nicer
I.e. if the width is less than 20cm, make sure there's still some
padding on the edges.

I'd like to figure out how to use left/right margins instead of padding
here (since margin seems to semantically make more sense), but I don't
think there's a way to do anything like "margin: max(8px, auto)";
I'd have to use a container element around all content (including the
header!) to apply both margins.
Diffstat (limited to 'index.js')
0 files changed, 0 insertions, 0 deletions