Skip to content

Commit fe61a7e

Browse files
committed
fix off-by-one pixel errors in login field heights - fixes element-hq#3738
1 parent 582a34c commit fe61a7e

1 file changed

Lines changed: 7 additions & 2 deletions

File tree

  • src/skins/vector/css/matrix-react-sdk/structures/login

src/skins/vector/css/matrix-react-sdk/structures/login/_Login.scss

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,7 @@ limitations under the License.
184184
}
185185

186186
.mx_Login_field_prefix {
187-
height: 33px;
187+
height: 34px;
188188
padding: 0px 5px;
189189
line-height: 33px;
190190

@@ -197,7 +197,7 @@ limitations under the License.
197197
}
198198

199199
.mx_Login_field_suffix {
200-
height: 33px;
200+
height: 34px;
201201
padding: 0px 5px;
202202
line-height: 33px;
203203

@@ -211,11 +211,16 @@ limitations under the License.
211211
}
212212

213213
.mx_Login_username {
214+
height: 16px;
214215
flex-shrink: 1;
215216
min-width: 0px;
216217
border-radius: 3px;
217218
}
218219

220+
.mx_Login_phoneNumberField {
221+
height: 16px;
222+
}
223+
219224
.mx_Login_field_has_prefix {
220225
border-top-left-radius: 0px;
221226
border-bottom-left-radius: 0px;

0 commit comments

Comments
 (0)