From 9c5b5243fcc82e712def77f73d529ec1bf1e5ee9 Mon Sep 17 00:00:00 2001 From: Joe <33972521+hnb-ku@users.noreply.github.com> Date: Thu, 15 Nov 2018 17:40:01 +0800 Subject: [PATCH] UX: don't show 0 vote count in crawler or print view --- plugins/poll/assets/stylesheets/common/poll.scss | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/plugins/poll/assets/stylesheets/common/poll.scss b/plugins/poll/assets/stylesheets/common/poll.scss index 4c3b35671c6..df8d719f46c 100644 --- a/plugins/poll/assets/stylesheets/common/poll.scss +++ b/plugins/poll/assets/stylesheets/common/poll.scss @@ -119,3 +119,13 @@ div.poll { } } } + +// hides 0 vote count in crawler and print view +body.crawler { + .poll { + .poll-info, + .poll-button { + display: none; + } + } +}