From ea3fd905b3def7e1bb80c122ee913c2f196edd6d Mon Sep 17 00:00:00 2001 From: opi Date: Mon, 6 Jun 2016 10:59:19 +0200 Subject: [PATCH] Moins on fixe de dimensions, mieux on se porte. --- assets/bw_graphs.css | 9 +++++---- assets/weights_graphs.css | 9 +++++---- 2 files changed, 10 insertions(+), 8 deletions(-) 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; -- 2.39.2