From 1fc3cf0434459045474994940fe93a66e87a8982 Mon Sep 17 00:00:00 2001 From: Rhenium Date: Sat, 22 Feb 2014 14:22:27 +0900 Subject: fix favoriters layout (view: _tweet_stats.html.haml) --- app/assets/stylesheets/application.css.scss | 4 +++- app/assets/stylesheets/hotfix.css.scss | 28 ++++++++++++++++++++++++++++ 2 files changed, 31 insertions(+), 1 deletion(-) create mode 100644 app/assets/stylesheets/hotfix.css.scss diff --git a/app/assets/stylesheets/application.css.scss b/app/assets/stylesheets/application.css.scss index e689178..cc8ef0c 100644 --- a/app/assets/stylesheets/application.css.scss +++ b/app/assets/stylesheets/application.css.scss @@ -1,4 +1,6 @@ -/* aclog CSS */ +//= require bootstrap +//= require_tree . + @import url(http://netdna.bootstrapcdn.com/bootstrap/3.0.3/css/bootstrap.min.css); @import url(http://fonts.googleapis.com/css?family=Raleway:400,800); diff --git a/app/assets/stylesheets/hotfix.css.scss b/app/assets/stylesheets/hotfix.css.scss new file mode 100644 index 0000000..4da9d36 --- /dev/null +++ b/app/assets/stylesheets/hotfix.css.scss @@ -0,0 +1,28 @@ +// favoriters count (xxx FAVS / xxx RTS) +.status-responses dt { + width: 40px; +} + +// favoriters list +.status-responses dd { + min-height: 44px; +} + +// favoriter's icon +.status-responses dd li a { + display: block; + width: 44px; + height: 44px; +} + +@media(min-width: 768px) { + .status-responses dd { + min-height: 42px; + } + + .status-responses dd li a { + width: 42px; + height: 42px; + } +} + -- cgit v1.2.3