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.

Revert "inputs: Fix input icons' vertical alignment for multi-line inputs."

Karl Stolleyb31b4c745156
diff --git a/web/styles/inputs.css b/web/styles/inputs.css
index 34d28df0410..ce502b18398 100644
--- a/web/styles/inputs.css
+++ b/web/styles/inputs.css
@@ -15,6 +15,7 @@
--input-button-ending-offset
)
[input-element-end];
+ align-items: center;
.input-element {
grid-area: input-element;
@@ -99,19 +100,11 @@
want to display it over the input element in the UI. */
z-index: 1;
pointer-events: none;
- /* This margin is required to align the icon with the
- first line of a multi-line input, where we cannot
- use `align-items: center`. */
- margin: 0.375em 0; /* 6px at 16px/1em */
}
.input-button {
grid-area: input-button;
padding: 0.25em; /* 4px at 16px/1em */
- /* This margin is required to align the icon with the
- first line of a multi-line input, where we cannot
- use `align-items: center`. */
- margin: 0.125em 0; /* 2px at 16px/1em */
}
.filter-input {