Skip to content

Commit 78cabed

Browse files
author
Luke Barnard
committed
1 parent af105b1 commit 78cabed

2 files changed

Lines changed: 16 additions & 15 deletions

File tree

‎src/skins/vector/css/matrix-react-sdk/structures/_UserSettings.scss‎

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -176,6 +176,15 @@ limitations under the License.
176176
cursor: pointer;
177177
}
178178

179+
.mx_UserSettings_phoneSection {
180+
display:table;
181+
}
182+
183+
.mx_UserSettings_phoneCountry {
184+
width: 70px;
185+
display: table-cell;
186+
}
187+
179188
input.mx_UserSettings_phoneNumberField {
180189
margin-left: 3px;
181190
width: 172px;

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

Lines changed: 7 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -179,11 +179,11 @@ limitations under the License.
179179
align-self: flex-end;
180180
}
181181

182-
.mx_Login_username_group {
182+
.mx_Login_field_group {
183183
display: flex;
184184
}
185185

186-
.mx_Login_username_prefix {
186+
.mx_Login_field_prefix {
187187
height: 33px;
188188
padding: 0px 5px;
189189
line-height: 33px;
@@ -196,7 +196,7 @@ limitations under the License.
196196
text-align: center;
197197
}
198198

199-
.mx_Login_username_suffix {
199+
.mx_Login_field_suffix {
200200
height: 33px;
201201
padding: 0px 5px;
202202
line-height: 33px;
@@ -214,7 +214,9 @@ limitations under the License.
214214
flex-shrink: 1;
215215
min-width: 0px;
216216
border-radius: 3px;
217-
/* The "@" is always prefixed, so no rounded corners */
217+
}
218+
219+
.mx_Login_field_has_prefix {
218220
border-top-left-radius: 0px;
219221
border-bottom-left-radius: 0px;
220222
}
@@ -224,13 +226,8 @@ limitations under the License.
224226
border-bottom-right-radius: 0px;
225227
}
226228

227-
.mx_Login_phoneSection {
228-
display: table;
229-
}
230-
231229
.mx_Login_phoneCountry {
232-
display: table-cell;
233-
width: 70px;
230+
margin-bottom: 14px;
234231
}
235232

236233
.mx_Login_phoneCountry .mx_Dropdown_option {
@@ -246,8 +243,3 @@ limitations under the License.
246243
margin: 4px;
247244
vertical-align: top;
248245
}
249-
250-
.mx_Login_phoneNumberField {
251-
width: 210px;
252-
margin-left: 3px;
253-
}

0 commit comments

Comments
 (0)