Browse Source

fix(blog): better alignment

Signed-off-by: Muthu Kumar <muthukumar@thefeathers.in>
pull/1/head
Muthu Kumar 2 years ago
parent
commit
17480f8d6f
Signed by: mkrhere GPG Key ID: 3FD688398897097E
  1. 8
      src/pages/blog/Home.tsx

8
src/pages/blog/Home.tsx

@ -125,7 +125,7 @@ const BlogHome: React.FC = () => {
css` css`
border: none; border: none;
padding: 1rem; padding: 1rem;
padding-block: 12vw; padding-block: 10vw;
display: flex; display: flex;
min-width: 3.6rem; min-width: 3.6rem;
max-width: 3.6rem; max-width: 3.6rem;
@ -177,7 +177,8 @@ const BlogHome: React.FC = () => {
display: flex; display: flex;
flex-direction: column; flex-direction: column;
gap: 1rem; gap: 1rem;
padding: 8vw; padding-inline: 8vw;
padding-block: 9vw;
min-width: min(30rem, 100vw); min-width: min(30rem, 100vw);
@media screen and (max-width: 50rem) { @media screen and (max-width: 50rem) {
@ -269,7 +270,8 @@ const BlogHome: React.FC = () => {
width: 100%; width: 100%;
display: flex; display: flex;
flex-direction: column; flex-direction: column;
padding: 8vw; padding-inline: 8vw;
padding-block: 7vw;
gap: 1.5rem; gap: 1.5rem;
max-width: 60rem; max-width: 60rem;
height: fit-content; height: fit-content;

Loading…
Cancel
Save