From 17cd01b056c5aa6cb1e0ebaa620ffba3b7899f45 Mon Sep 17 00:00:00 2001 From: Abdelkader Boudih Date: Wed, 6 Aug 2014 16:46:57 +0000 Subject: [PATCH] [Webui] Fix style bug --- web/assets/stylesheets/application.css | 14 ++++++-------- web/views/_footer.erb | 2 +- web/views/_nav.erb | 22 +++++++--------------- 3 files changed, 14 insertions(+), 24 deletions(-) diff --git a/web/assets/stylesheets/application.css b/web/assets/stylesheets/application.css index d9f31600..eefea617 100755 --- a/web/assets/stylesheets/application.css +++ b/web/assets/stylesheets/application.css @@ -102,7 +102,7 @@ header.row .pagination { border-width: 0; } .poll-wrapper { - margin: 9px 0; + margin: 9px; } .nav #live-poll { height: 25px; @@ -604,10 +604,6 @@ div.interval-slider input { } @media (max-width: 768px) { - .navbar .container { - text-align: center - } - .navbar .navbar-brand { float: none; display: block; @@ -629,11 +625,13 @@ div.interval-slider input { } .poll-wrapper { - margin: 0 9px 9px; + width: 100%; + text-align: center; } - .poll-wrapper > div { - margin: 10px; + .poll-wrapper > a { + display: inline-block; + margin: 5px; } .navbar.navbar-fixed-bottom ul { diff --git a/web/views/_footer.erb b/web/views/_footer.erb index 851a384a..a35686e9 100644 --- a/web/views/_footer.erb +++ b/web/views/_footer.erb @@ -1,6 +1,6 @@