Skip to content

Commit

Permalink
fix styling issues (#414)
Browse files Browse the repository at this point in the history
  • Loading branch information
nikrooz authored Jun 12, 2024
1 parent c071fd0 commit c78c3ac
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 6 deletions.
21 changes: 15 additions & 6 deletions src/components/ExampleWidget/styles.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,6 @@
gap: 10px;
}

@media screen and (max-width: 800px) {
.feature {
flex-basis: 100%;
}
}

.featureRow {
display: grid;
gap: 20px;
Expand All @@ -23,6 +17,21 @@
row-gap: 40px;
}

@media screen and (min-width: 801px) and (max-width: 1350px) {
.featureRow {
grid-template-columns: repeat(2, minmax(250px, 1fr));
}
}

@media screen and (max-width: 800px) {
.feature {
flex-basis: 100%;
}
.featureRow {
grid-template-columns: 1fr;
}
}

.lang {
padding: 0px;
}
Expand Down
1 change: 1 addition & 0 deletions src/components/SpotlightCard/styles.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
border-radius: 24px;
margin-top: 80px;
margin-bottom: 80px;
padding: 0px 40px;
background-image: linear-gradient(
45deg,
hsl(234deg 50% 43%) 0%,
Expand Down
11 changes: 11 additions & 0 deletions src/css/new-design.css
Original file line number Diff line number Diff line change
Expand Up @@ -393,6 +393,12 @@ nav[aria-label="Main"] a[href="https://restate.dev/get-restate/"]
font-weight: 400;
}

@media screen and (max-width: 800px) {
nav[aria-label="Main"] .navbar__items.navbar__items--right a {
display: none !important;
}
}

nav[aria-label="Main"] .navbar__items a {
display: flex;
align-items: center;
Expand All @@ -403,3 +409,8 @@ nav[aria-label="Main"] {
border-bottom: 1px solid rgba(34, 36, 82, 0.5);
height: 68px;
}
@media (max-width: 996px) {
nav[aria-label="Main"] .navbar__items.navbar__items--right {
padding-right: 160px;
}
}

0 comments on commit c78c3ac

Please sign in to comment.