Skip to content

Commit ce748f7

Browse files
auarussAngus Chang
authored andcommitted
fix: adjustment to positioning and media query loading previous apprentices sparkbox logo background
1 parent a9f9b0f commit ce748f7

1 file changed

Lines changed: 6 additions & 4 deletions

File tree

components/previous-apprentices/previous-apprentices.module.scss

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,6 @@
33
@use '../../styles/fonts' as *;
44

55
.previous-apprentices {
6-
background: url('../../public/sparkbox-logo.svg') no-repeat;
7-
background-size: 40rem;
8-
background-position: 68rem;
9-
106
padding-top: 30rem;
117
margin-top: -30rem;
128

@@ -70,6 +66,12 @@
7066

7167
@media (min-width: 50rem) {
7268
.previous-apprentices {
69+
70+
background: url('../../public/sparkbox-logo.svg') no-repeat;
71+
background-size: 40rem;
72+
background-position-x: calc(50% + 38rem);
73+
background-position-y: 16rem;
74+
7375
&__header {
7476
margin: auto;
7577

0 commit comments

Comments
 (0)