Skip to content

Commit

Permalink
Fix CSS
Browse files Browse the repository at this point in the history
  • Loading branch information
cmahnke committed Jul 8, 2024
1 parent 2798e13 commit 4495fd5
Showing 1 changed file with 20 additions and 2 deletions.
22 changes: 20 additions & 2 deletions assets/scss/base.scss
Original file line number Diff line number Diff line change
Expand Up @@ -613,8 +613,26 @@ a:visited {
max-width: 100vw;
}

p img {
width: 100%;
h1:has(code),
h2:has(code),
h3:has(code) {
display: unset;
}

p {
a:has(img) {
&:before {
content: unset;
}

&:after {
content: unset;
}
}

img {
width: 100%;
}
}
}

Expand Down

0 comments on commit 4495fd5

Please sign in to comment.