Skip to content

Commit

Permalink
fix: adjust css for grid
Browse files Browse the repository at this point in the history
  • Loading branch information
Mara-Li committed Jun 7, 2024
1 parent f624445 commit 759f0ff
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions quartz/styles/custom/grid_callouts.scss
Original file line number Diff line number Diff line change
Expand Up @@ -262,6 +262,7 @@ body {
border: 0;
margin: 0;
box-shadow: none;
width: $pageWidth;

& {
display: block;
Expand All @@ -276,15 +277,16 @@ body {

p:not(.callout-title) {
display: grid;
grid-template-columns: repeat(2, minmax(19vw, 1fr));
grid-template-columns: 2fr;
grid-template-rows: repeat(1, 1fr);
grid-gap: 15px;
}

img {
padding: 1px;
margin:0;

margin: 0;
grid-row: x / span y;

&:hover {
transform: scaleX(2) scaleY(2);
}
Expand Down

0 comments on commit 759f0ff

Please sign in to comment.