Skip to content

Commit 338ab4d

Browse files
authored
Merge pull request element-hq#3942 from vector-im/luke/improve-country-dd-2
CSS for putting country dd on same line as phone input
2 parents 7ea0ecd + 089740a commit 338ab4d

1 file changed

Lines changed: 14 additions & 0 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: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -231,8 +231,22 @@ limitations under the License.
231231
border-bottom-right-radius: 0px;
232232
}
233233

234+
.mx_Login_phoneSection {
235+
display:flex;
236+
}
237+
234238
.mx_Login_phoneCountry {
235239
margin-bottom: 14px;
240+
width: 145px;
241+
242+
/* To override mx_Login_field_prefix */
243+
text-align: left;
244+
padding: 0px;
245+
}
246+
247+
.mx_Login_field_prefix .mx_Dropdown_input {
248+
/* To use prefix border instead of dropdown border */
249+
border: 0;
236250
}
237251

238252
.mx_Login_phoneCountry .mx_Dropdown_option {

0 commit comments

Comments
 (0)