Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
Revert "recent_view: Round last row's corners without overflow: hidden."
Aman Agrawal41dfbe9640e0
diff --git a/web/styles/app_variables.css b/web/styles/app_variables.cssindex 963e03b062c..6dc8b789d7e 100644--- a/web/styles/app_variables.css+++ b/web/styles/app_variables.css@@ -1209,18 +1209,6 @@--recent-view-participants-padding-x-start: 0.25em; /* 4px at 16px / 1em */--recent-view-table-border-radius: 5px;--recent-view-table-border-bottom-width: 1px;- /* Inner radius used on the last row's corner cells, so they- hug the container's rounded bottom corners. Derived from- the outer radius minus the border widths, which lets it- track dark mode's wider side border. */- --recent-view-table-inner-radius: calc(- var(--recent-view-table-border-radius) -- var(--recent-view-table-border-side-width)- )- calc(- var(--recent-view-table-border-radius) -- var(--recent-view-table-border-bottom-width)- );--color-border-recent-view-table: var(--color-border-inbox-folder-component);diff --git a/web/styles/recent_view.css b/web/styles/recent_view.cssindex 9b0aede35d7..e3ee8e513e4 100644--- a/web/styles/recent_view.css+++ b/web/styles/recent_view.css@@ -34,6 +34,7 @@border-bottom-width: var(--recent-view-table-border-bottom-width);border-radius: 0 0 var(--recent-view-table-border-radius)var(--recent-view-table-border-radius);+ overflow: hidden;}#recent_view {@@ -443,22 +444,6 @@background-color: var(--color-background-recent-view-row);}- /* Round the last row's bottom corners to hug the- container's rounded bottom corners. */- &:last-child {- & td:first-child {- border-bottom-left-radius: var(- --recent-view-table-inner-radius- );- }-- & td:last-child {- border-bottom-right-radius: var(- --recent-view-table-inner-radius- );- }- }-/* Avoid annoying, confusing hover-state when scrolling ontouch devices like iPad that treat a tap-and-hold/swipeas a hover. */@@ -822,15 +807,6 @@thead .last_msg_time_header {display: none;}-- /* With the timestamp cell hidden, the topic name cell- is the last visible one in the row, so round its- bottom-right corner too. */- tr:last-child .recent_topic_name {- border-bottom-right-radius: var(- --recent-view-table-inner-radius- );- }}.recent_topic_actions {