Skip to content

A platform for community discussion. Free, open, simple.

UX: don't show 0 vote count in crawler or print view

Joe9c5b5243fcc8
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;
+ }
+ }
+}