Skip to content

Commit

Permalink
fix: hide diagram in low resolutions to avoid mobile issues
Browse files Browse the repository at this point in the history
  • Loading branch information
Angelmmiguel committed Oct 5, 2023
1 parent bc3fafe commit 1ba5975
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions docs/src/css/custom.css
Original file line number Diff line number Diff line change
Expand Up @@ -55,9 +55,17 @@ html[data-theme='dark'] {
}

.hero__diagram svg {
display: none;
max-width: 100%;
}

@media screen and (min-width: 780px) {
.hero__diagram svg {
display: inline;
max-width: 100%;
}
}

.home__main {
padding-bottom: 4rem;
}
Expand Down

0 comments on commit 1ba5975

Please sign in to comment.