Skip to content

Commit

Permalink
Merge pull request #33 from ThiagoMowszet/main
Browse files Browse the repository at this point in the history
fix post images responsiveness
  • Loading branch information
zeroidentidad committed Apr 17, 2024
2 parents a2fd804 + aef9e6a commit b83eea5
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions themes/basic/assets/css/_posts.scss
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
justify-content: space-evenly;

.box-post {
display: initial; // NOTE: fix the white space between the title and the date.
display: initial;
// flex-direction: column;
flex-basis: calc(33% - 2.5rem);
// justify-content: flex-end;
Expand Down Expand Up @@ -116,10 +116,10 @@
img {
width: auto;
height: auto;
max-width: $display-mid-max;
// max-width: $display-mid-max;
max-height: 400px;
margin: auto;
padding: 1rem;
// padding: 1rem;
}

figcaption {
Expand All @@ -145,6 +145,6 @@
}

.post figure img {
max-width: 100%;
max-width: 100vw;
}
}

0 comments on commit b83eea5

Please sign in to comment.