Skip to content

Commit

Permalink
fix ordered list style
Browse files Browse the repository at this point in the history
  • Loading branch information
fumaSuzuki committed Dec 18, 2024
1 parent f3c22b8 commit 20e4cc5
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 17 deletions.
18 changes: 1 addition & 17 deletions src/components/notion-blocks/Image.astro
Original file line number Diff line number Diff line change
Expand Up @@ -35,20 +35,4 @@ if (block.Image.External) {
</div>
)
}
</figure>

<style>
.image {
display: flex;
margin: 0.2rem auto 0;
}
.image > div {
margin: 0 auto;
}
.image > div > div {
}
.image > div > div img {
display: block;
max-width: 100%;
}
</style>
</figure>
20 changes: 20 additions & 0 deletions src/scss/blog.scss
Original file line number Diff line number Diff line change
Expand Up @@ -474,6 +474,22 @@ ul {

/* --------------------------------- Heading2.astroここまで --------------------------------- */

/* --------------------------------- Image.astroここから --------------------------------- */
.image {
display: flex;
margin: .5rem auto;
}
.image > div {
margin: 0 auto;
}
.image > div > div {
}
.image > div > div img {
display: block;
max-width: 100%;
}
/* --------------------------------- Image.astroここまで --------------------------------- */

/* --------------------------------- Paragraph.astroここから --------------------------------- */

p {
Expand Down Expand Up @@ -998,6 +1014,10 @@ aside,
list-style: initial;
margin: 0 0 20px 20px;
}
ol {
list-style: desc;
margin: 0 0 20px 20px;
}
.post-featured-image {
max-width: 790px;
img {
Expand Down

0 comments on commit 20e4cc5

Please # to comment.