From: opi Date: Mon, 6 Jun 2016 08:59:19 +0000 (+0200) Subject: Moins on fixe de dimensions, mieux on se porte. X-Git-Url: https://nos-oignons.net/gitweb/website.git/commitdiff_plain/ea3fd905b3def7e1bb80c122ee913c2f196edd6d Moins on fixe de dimensions, mieux on se porte. --- diff --git a/assets/bw_graphs.css b/assets/bw_graphs.css index 7fd6abe..50f0e77 100644 --- a/assets/bw_graphs.css +++ b/assets/bw_graphs.css @@ -7,12 +7,13 @@ #bandwidth form { margin: auto; - width: 35em; + text-align: center; } -#bandwidth div { - float: left; - width: 7em; +#bandwidth .graph-period div { + display: inline-block; + vertical-align: middle; + min-width: 6em; } #bandwidth svg { clear: left; diff --git a/assets/weights_graphs.css b/assets/weights_graphs.css index ca1207c..e80e5c6 100644 --- a/assets/weights_graphs.css +++ b/assets/weights_graphs.css @@ -7,12 +7,13 @@ #weights form { margin: auto; - width: 35em; + text-align: center; } -#weights div { - float: left; - width: 7em; +#weights .graph-period div { + display: inline-block; + vertical-align: middle; + min-width: 6em; } #weights svg { clear: left;