Skip to content

Commit 4db581c

Browse files
author
Salma Alam-Naylor
committed
Small spacing fixes on small screens
1 parent 0a23928 commit 4db581c

File tree

2 files changed

+11
-4
lines changed

2 files changed

+11
-4
lines changed

apps/fretonator-web/src/app/common/fretonator/fretonator.component.scss

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -260,17 +260,24 @@
260260

261261
.fretonator__playCta {
262262
@include font_bodyCopy();
263-
font-size: pxToRem(14);
263+
font-size: pxToRem(12);
264264
display: flex;
265265
justify-content: center;
266266
align-items: center;
267267
margin-top: pxToRem($grid-unit * 4);
268268
color: var(--grey);
269+
line-height: 1;
270+
margin-left: auto;
271+
margin-right: auto;
272+
273+
@media screen and (min-width: $screen-sm) {
274+
font-size: pxToRem(14);
275+
}
269276
}
270277

271278
.fretonator__playCtaIcon {
272279
display: flex;
273-
height: pxToRem($grid-unit * 3);
274-
width: pxToRem($grid-unit * 3);
280+
height: pxToRem($grid-unit * 2);
281+
width: pxToRem($grid-unit * 2);
275282
margin-right: pxToRem($grid-unit);
276283
}

apps/fretonator-web/src/app/common/fretonator/scale-map/scale-map.component.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@
165165

166166
.infoHighlight {
167167
border-radius: var(--border-radius-chip);
168-
padding: pxToRem($grid-unit / 4) pxToRem($grid-unit * 2);
168+
padding: pxToRem($grid-unit / 4) pxToRem(9);
169169
color: var(--black);
170170
background-color: var(--peach);
171171
}

0 commit comments

Comments
 (0)