Skip to content

Commit e24493c

Browse files
authored
Merge pull request #743 from akeneo/API-1969-fix-the-shift-in-button-develop-your-app-for-chrome-on-osx
API-1969: 'Develop your App' button vertical alignment
2 parents 9be2fa2 + ff77f44 commit e24493c

File tree

2 files changed

+4
-14
lines changed

2 files changed

+4
-14
lines changed

components/components.css

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -335,13 +335,13 @@ button {
335335
.next-steps-button {
336336
width: 261px;
337337
height: 89px;
338-
padding-top: 5px; /* Fix font not centered */
338+
padding-top: 2px; /* Fix font not centered */
339339
display: flex;
340340
justify-content: center;
341341
align-items: center;
342342
gap: 10px;
343343

344-
font-weight: 500;
344+
font-weight: 700;
345345
font-size: 24px;
346346
line-height: 29px;
347347
text-transform: uppercase;
@@ -362,12 +362,8 @@ button {
362362
}
363363

364364
.next-steps-button-number {
365-
padding-top: 2px; /* Fix inability to align-item baseline */
366365
font-size: 63px;
367366
}
368-
.next-steps-button-smaller .next-steps-button-number {
369-
padding-top: 4px; /* Fix inability to align-item baseline */
370-
}
371367

372368
.next-steps-button-text {
373369
text-align: left;
@@ -376,7 +372,6 @@ button {
376372
.next-steps-button-smaller {
377373
width: 177px;
378374
height: 65px;
379-
padding-top: 3px
380375
}
381376

382377
.next-steps-button-smaller .next-steps-button-number {

styles/guided-tutorial.less

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -110,15 +110,15 @@
110110
.next-steps-button {
111111
width: 261px;
112112
height: 89px;
113-
padding-top: 5px; /* Fix font not centered */
113+
padding-top: 2px; /* Fix font not centered */
114114
display: flex;
115115
justify-content: center;
116116
align-items: center;
117117
gap: 10px;
118118

119119
cursor: pointer;
120120

121-
font-weight: 500;
121+
font-weight: 700;
122122
font-size: 24px;
123123
line-height: 29px;
124124
text-transform: uppercase;
@@ -137,12 +137,8 @@
137137
}
138138

139139
.next-steps-button-number {
140-
padding-top: 2px; /* Fix inability to align-item baseline */
141140
font-size: 63px;
142141
}
143-
.next-steps-button-smaller .next-steps-button-number {
144-
padding-top: 4px; /* Fix inability to align-item baseline */
145-
}
146142

147143
.next-steps-button-text {
148144
text-align: left;
@@ -151,7 +147,6 @@
151147
.next-steps-button-smaller {
152148
width: 177px;
153149
height: 65px;
154-
padding-top: 3px
155150
}
156151

157152
.next-steps-button-smaller {

0 commit comments

Comments
 (0)