Skip to content

Commit

Permalink
refine table
Browse files Browse the repository at this point in the history
  • Loading branch information
Jicheng Lu committed Oct 10, 2024
1 parent 0773e5b commit f6f0f2c
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion src/lib/scss/custom/common/_common.scss
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,10 @@ button:focus {

&:has(.language-sql),
&:has(.language-java),
&:has(.language-javascript),
&:has(.language-typescript),
&:has(.language-csharp),
&:has(.language-python),
&:has(.language-json) {
background-color: black;
color: white;
Expand All @@ -194,9 +197,15 @@ button:focus {
display: none !important;
}

table, code {
table {
margin-top: 1em !important;
margin-bottom: 1em !important;
border-radius: 5px;

th, td {
padding: 3px 5px !important;
border: 1px solid white;
}
}

p {
Expand Down

0 comments on commit f6f0f2c

Please sign in to comment.