Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
Revert "recent_view: Paint row backgrounds on cells instead of tr."
Aman Agrawalc9c2aa111920
diff --git a/web/styles/recent_view.css b/web/styles/recent_view.cssindex e3ee8e513e4..6c9c51c9c72 100644--- a/web/styles/recent_view.css+++ b/web/styles/recent_view.css@@ -435,25 +435,18 @@}& tr {- /* Put background on the cells, not tr. Border radius does not work- on tr, it works only on td. We want to set the border radius of- the last row in accordance to the border radius of the table so- that we don't need to use overflow hidden to keep the background- from spilling out. */- & td {- background-color: var(--color-background-recent-view-row);- }+ background-color: var(--color-background-recent-view-row);/* Avoid annoying, confusing hover-state when scrolling ontouch devices like iPad that treat a tap-and-hold/swipeas a hover. */@media (hover: hover) and (pointer: fine) {- &:hover td {+ &:hover {background-color: var(--color-background-recent-view-row-hover);- }- &:hover .change_visibility_policy .recent-view-row-topic-menu {- opacity: 0.4;+ .change_visibility_policy .recent-view-row-topic-menu {+ opacity: 0.4;+ }}}}