Skip to content

Commit

Permalink
chore: center images and round image corners (#1884)
Browse files Browse the repository at this point in the history
* chore: center images and round image corners

* chore: change table heading to bold

---------

Co-authored-by: Lenny Chen <[email protected]>
  • Loading branch information
lennessyy and lennessyy authored Dec 8, 2023
1 parent 045de7e commit a978f01
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
9 changes: 9 additions & 0 deletions src/css/custom.scss
Original file line number Diff line number Diff line change
Expand Up @@ -195,3 +195,12 @@ h2.openapi__method-endpoint-path {
.markdown .card h2 {
font-size: 1rem;
}

// Center images and round image corners

p img.markdown-image {
display: block;
margin-left: auto;
margin-right: auto;
border-radius: 1vw;
}
2 changes: 1 addition & 1 deletion src/css/table.scss
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@

th {
padding: 16px;
font-weight: 500;
font-weight: bold;
font-size: 0.75rem;
line-height: 18px;
letter-spacing: 0.02em;
Expand Down

0 comments on commit a978f01

Please sign in to comment.