Skip to content

Commit

Permalink
fix(docs): responsive css for posts layout
Browse files Browse the repository at this point in the history
  • Loading branch information
saurabhdaware committed Oct 19, 2023
1 parent 8dec0c5 commit 3a2ab9c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions packages/docs/client/global.scss
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
--content-width-landing: 1200px;
--content-width-posts: 1100px;
--content-padding-horizontal: 100px;
--posts-padding-horizontal: 80px;

--docsearch-primary-color: var(--blue-5) !important;
}
Expand Down Expand Up @@ -279,6 +280,7 @@ a {
--font-text-small-spacing: 0.03rem;
--content-width-landing: 100%;
--content-padding-horizontal: 64px;
--posts-padding-horizontal: 24px;
}


Expand Down
2 changes: 1 addition & 1 deletion packages/docs/client/posts.scss
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ html, body {
}

main.content-padding {
padding: 50px 80px;
padding: 50px var(--posts-padding-horizontal);
max-width: var(--content-width-posts);
margin: auto;
}
Expand Down

0 comments on commit 3a2ab9c

Please sign in to comment.