Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
recent_view: Set a shared column for filter icons.
Karl Stolley35642cb94135
diff --git a/web/styles/recent_view.css b/web/styles/recent_view.cssindex a2db9dbf7f5..d78f752b9b8 100644--- a/web/styles/recent_view.css+++ b/web/styles/recent_view.css@@ -44,12 +44,6 @@display: flex;align-items: center;- .filter-icon {- /* Maintain righthand space between icon- and stream name. */- margin: 0 3px 0 -1px;- }-& > * {outline: 0;}@@ -97,9 +91,7 @@.fa-envelope {/* Legacy 11.2px size at 14px/1em. */font-size: 0.8em;- margin-right: 2px;- position: relative;- top: -1px;+ text-align: center;opacity: 0.6;}@@ -404,6 +396,17 @@.recent_topic_stream {padding: 8px 0 8px 8px;+ .recent_view_focusable {+ display: grid;+ grid-template-areas: "starting-anchor-element row-content";+ /* 14px at 14px/1em */+ grid-template-columns: 1em minmax(0, 1fr);+ /* Visually match the 8px of padding to+ the left of the filter icon. */+ gap: 7px;+ place-content: center center;+ }+& a {word-break: break-word;hyphens: auto;@@ -502,6 +505,7 @@/* Let flexbox handle vertical alignment bypushing back against inline-block display. */display: block;+ text-align: center;}}