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.

portico: Standardize input and button heights to 48px.

Alya Abbott78a0a5e426e0
diff --git a/web/styles/portico/portico_signin.css b/web/styles/portico/portico_signin.css
index 06f01dbc1de..7d036155bfa 100644
--- a/web/styles/portico/portico_signin.css
+++ b/web/styles/portico/portico_signin.css
@@ -433,7 +433,7 @@ html {
background-color: hsl(213deg 23% 25%);
margin: 25px 0 5px;
- height: 50px;
+ height: 48px;
border: none;
border-radius: 4px;
@@ -515,7 +515,9 @@ html {
input[type="url"],
textarea,
select {
- padding: 10px 32px 10px 12px;
+ /* 10.5px vertical padding + 2px border + content
+ height gives 48px, matching the button height. */
+ padding: 10.5px 32px 10.5px 12px;
margin: 25px 0 5px;
font-family: "Source Sans 3 VF", sans-serif;
@@ -609,6 +611,9 @@ html {
/* The width of the "Organization name" text box
right above this one is also 326px. */
& select {
+ /* Browsers default select to border-box, so
+ an explicit height includes padding and border. */
+ height: 48px;
width: 326px;
cursor: pointer;
}