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.

recent_view: Use em for padding width of checkboxes.

evykassirerdc2b38fae17c
diff --git a/web/styles/recent_view.css b/web/styles/recent_view.css
index 3035101b41b..37c513ea348 100644
--- a/web/styles/recent_view.css
+++ b/web/styles/recent_view.css
@@ -90,7 +90,7 @@
.fa-check-square-o,
.fa-square-o {
padding: 0 2px;
- width: 10px;
+ width: 0.7142em; /* Legacy 10px size at 14px/1em. */
}
.zulip-icon-user {
@@ -172,8 +172,10 @@
background-color: var(--color-background-zulip-button);
border: 1px solid var(--color-border-zulip-button);
border-radius: 40px;
- margin: 0 5px 10px 0;
- padding: 6px 12px;
+ /* Legacy 5px 10px at 14px/1em. */
+ margin: 0 0.3571em 0.7142em 0;
+ /* Legacy 6px 12px at 14px/1em. */
+ padding: 0.4285em 0.8571em;
line-height: 100%;
&:hover {
@@ -578,7 +580,8 @@
#recent-view-filter_widget {
display: inline-flex;
width: 150px;
- margin: 0 5px 10px 0;
+ /* Legacy 5px 10px at 14px/1em. */
+ margin: 0 0.3571em 0.7142em 0;
&:hover {
background-color: var(--color-background-inbox-search-hover);