Skip to content

Commit

Permalink
docs: Fix placement of Hero on big screens (#2305)
Browse files Browse the repository at this point in the history
  • Loading branch information
patrycjakalinska authored Aug 29, 2024
1 parent 82a5226 commit b7a51fc
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 15 deletions.
20 changes: 20 additions & 0 deletions docs/src/components/Hero/ScreenSequence/styles.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,26 @@
align-items: center;
}

@media (min-width: 2920px) {
.screens {
top: 3rem;
min-height: 70%;
}
}
@media (min-width: 3000px) and (min-height: 1500px) {
.screens {
top: -3vh;
min-height: 50%;
}
}

@media (min-width: 3000px) and (min-height: 2000px) {
.screens {
top: -3vh;
min-height: 50%;
}
}

@media (max-width: 2000px) {
.screens {
top: 4rem;
Expand Down
16 changes: 1 addition & 15 deletions docs/src/components/Hero/StartScreen/styles.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
color: var(--swm-blue-light-80);
}

[data-theme='dark'] .headingLabel :nth-child(2) {
[data-theme="dark"] .headingLabel :nth-child(2) {
color: var(--swm-blue-dark-80);
}

Expand Down Expand Up @@ -55,20 +55,6 @@
justify-content: flex-start;
}

@media (min-width: 2920px) {
.hero {
flex-direction: row-reverse;
margin-bottom: 0;
align-items: center;
}
.subheadingLabel {
width: 100%;
}
.heading {
margin: 0;
}
}

@media (max-width: 996px) {
.hero {
margin-bottom: 1rem;
Expand Down

0 comments on commit b7a51fc

Please sign in to comment.