From 696e669f60873dd6bce9cb43d43bf71ac2ee5126 Mon Sep 17 00:00:00 2001 From: joshua stein Date: Sat, 10 Oct 2015 20:36:48 -0500 Subject: [PATCH] mobile css: fix upvote/unvote/upvote still showing red arrow closes #230 --- app/assets/stylesheets/mobile.css | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/app/assets/stylesheets/mobile.css b/app/assets/stylesheets/mobile.css index c93b878..8630057 100644 --- a/app/assets/stylesheets/mobile.css +++ b/app/assets/stylesheets/mobile.css @@ -84,6 +84,15 @@ border-width: 9px; } + /* explicitly reset color when not upvoted, since previously-upvoted arrow + * will still be triggering :hover until next tap */ + div.voters .upvoter:hover { + border-bottom-color: #bbb; + } + .upvoted div.voters .upvoter { + border-bottom-color: #ac130d; + } + ol.stories.list { margin-top: 0; } @@ -179,6 +188,7 @@ } div.morelink { margin-left: 36px; + float: none; } li.story div.byline { font-size: 10pt; @@ -228,4 +238,10 @@ div#user_about { margin-left: 0; } + + div#footer { + text-align: center; + float: none; + padding-left: 10px; + } }