From cac18b76d0068a7ad5a722d36cca89cfe5f82b51 Mon Sep 17 00:00:00 2001 From: Ethan Dalool Date: Tue, 10 Sep 2019 15:32:35 -0700 Subject: [PATCH] Switch to border-box by default. --- frontends/etiquette_flask/static/css/common.css | 7 ++++++- frontends/etiquette_flask/static/css/photo_card.css | 2 +- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/frontends/etiquette_flask/static/css/common.css b/frontends/etiquette_flask/static/css/common.css index b6caee1..77691b8 100644 --- a/frontends/etiquette_flask/static/css/common.css +++ b/frontends/etiquette_flask/static/css/common.css @@ -24,6 +24,12 @@ html { height: 100vh; + box-sizing: border-box; +} + +*, *:before, *:after +{ + box-sizing: inherit; } body @@ -54,7 +60,6 @@ input::placeholder, textarea::placeholder opacity: 1; } - body { display: grid; diff --git a/frontends/etiquette_flask/static/css/photo_card.css b/frontends/etiquette_flask/static/css/photo_card.css index ba9d316..805957b 100644 --- a/frontends/etiquette_flask/static/css/photo_card.css +++ b/frontends/etiquette_flask/static/css/photo_card.css @@ -97,7 +97,7 @@ /10px auto; min-width: 150px; max-width: 300px; - height: 210px; + height: 225px; padding: 8px; margin: 8px;