Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

left-sidebar: Display ellipsis icon by default on touch-based devices.

Gaurav Pandey56f16ca9dd9b
diff --git a/static/styles/left_sidebar.css b/static/styles/left_sidebar.css
index 05fa6aa721a..645978e5f3c 100644
--- a/static/styles/left_sidebar.css
+++ b/static/styles/left_sidebar.css
@@ -379,6 +379,17 @@ li.top_left_recent_topics {
&:hover {
color: hsl(0, 0%, 0%) !important;
}
+
+ /*
+ Hover does not work for touch-based devices like mobile phones.
+ Hence the the icons does not appear, making the user unaware of its
+ presence on such devices. The following media property displays the
+ icon by default for such behaviour.
+ */
+
+ @media (hover: none) {
+ display: block;
+ }
}
/*