Skip to content
This repository was archived by the owner on Sep 11, 2024. It is now read-only.

Commit 3ba31fd

Browse files
committed
Use spacing vars
1 parent 556fe5b commit 3ba31fd

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

res/css/views/auth/_AuthBody.pcss

+5-5
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ limitations under the License.
161161
margin-bottom: $spacing-32;
162162

163163
p {
164-
margin: 0 0 8px;
164+
margin: 0 0 $spacing-8;
165165
}
166166
}
167167

@@ -197,7 +197,7 @@ limitations under the License.
197197
color: $accent;
198198
display: flex;
199199
gap: $spacing-4;
200-
padding: 4px;
200+
padding: $spacing-4;
201201

202202
&:hover {
203203
background-color: $system;
@@ -238,7 +238,7 @@ limitations under the License.
238238
text-align: center;
239239

240240
.mx_AuthBody_paddedFooter_title {
241-
margin-top: 16px;
241+
margin-top: $spacing-16;
242242
font-size: $font-15px;
243243
line-height: $font-24px;
244244

@@ -249,7 +249,7 @@ limitations under the License.
249249
}
250250

251251
.mx_AuthBody_paddedFooter_subtitle {
252-
margin-top: 8px;
252+
margin-top: $spacing-8;
253253
font-size: $font-10px;
254254
line-height: $font-14px;
255255
}
@@ -265,7 +265,7 @@ limitations under the License.
265265
}
266266

267267
.mx_SSOButtons + .mx_AuthBody_changeFlow {
268-
margin-top: 24px;
268+
margin-top: $spacing-24;
269269
}
270270

271271
.mx_AuthBody_spinner {

res/css/views/dialogs/_VerifyEMailDialog.pcss

+2-2
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ limitations under the License.
2020

2121
.mx_Dialog {
2222
color: $primary-content;
23-
font-size: 14px;
23+
font-size: $font-14px;
2424
padding: $spacing-24 $spacing-24 $spacing-16;
2525
text-align: center;
2626
width: 485px;
@@ -37,7 +37,7 @@ limitations under the License.
3737

3838
.mx_AuthBody_did-not-receive {
3939
justify-content: center;
40-
margin-bottom: 8px;
40+
margin-bottom: $spacing-8;
4141
}
4242

4343
.mx_Dialog_cancelButton {

0 commit comments

Comments
 (0)