Skip to content

Commit

Permalink
fixed heart svg size on mobile
Browse files Browse the repository at this point in the history
  • Loading branch information
ajayadav09 committed Feb 1, 2024
1 parent 8a9b263 commit 6aa9908
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion src/OnboardingSPA/steps/SiteGen/Preview/stylesheet.scss
Original file line number Diff line number Diff line change
Expand Up @@ -74,13 +74,17 @@
align-items: center;
background: var(--nfd-onboarding-card-background);
color: var(--nfd-onboarding-primary);
gap: 18px;
gap: 14px;
padding: 16px;
font-size: 16px;
line-height: 22px;
text-align: center;
border-radius: 12px;
margin-bottom: 70px;

@media (max-width: #{ ($break-mobile) }) {
gap: 8px;
}
}

@keyframes heartBeat {
Expand All @@ -101,6 +105,11 @@
.heart {
stroke-width: 2px;
stroke: var(--nfd-onboarding-heart-icon-stroke);

@media (max-width: #{ ($break-mobile) }) {
width: 50px;
height: auto;
}
}

.heart path {
Expand Down

0 comments on commit 6aa9908

Please sign in to comment.