Skip to content

Commit

Permalink
feat: write-image-crop #263
Browse files Browse the repository at this point in the history
blog spotlight size changed
  • Loading branch information
jasirtp committed Oct 12, 2021
1 parent 1ee066e commit 4513d64
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions component/layout/BlogPost/BlogSpotlight.module.scss
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,9 @@
figure {

img {
@apply w-full m-auto;
@apply m-auto;
width: 1200px;
height: 637px;
}

}
Expand All @@ -27,13 +29,15 @@
max-width: 1700px;
}
.author {
@apply md:absolute right-0 bottom-0 lg:bottom-auto lg:top-1/2 mx-auto mt-10;
@apply md:absolute bottom-0 lg:bottom-auto lg:top-1/2 mx-auto mt-10;
background: #242424;
color: #AFAFAF;
right: 5%;
width: min(100%, 420px);
@screen md {
@apply mt-0 bottom-auto top-1/2;
width: min(300px, 35vw);
right: 0%;
transform: translateY(-50%);
}
@screen xl {
Expand Down

0 comments on commit 4513d64

Please sign in to comment.