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.

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

Gaurav Pandey60c6ba7c3ac0
diff --git a/static/styles/right_sidebar.css b/static/styles/right_sidebar.css
index 98a2e761f11..718a9c4d976 100644
--- a/static/styles/right_sidebar.css
+++ b/static/styles/right_sidebar.css
@@ -48,6 +48,17 @@
cursor: pointer;
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: inline;
+ }
}
&:hover {