Skip to content

Commit

Permalink
fix(client): refine highlight css
Browse files Browse the repository at this point in the history
  • Loading branch information
fushar committed Mar 28, 2024
1 parent 62efe03 commit f108a99
Showing 1 changed file with 16 additions and 4 deletions.
20 changes: 16 additions & 4 deletions judgels-client/src/components/HtmlText/HtmlText.scss
Original file line number Diff line number Diff line change
Expand Up @@ -79,15 +79,27 @@

.highlight {
background-color: #fbd065;
margin: -20px;
margin-bottom: 15px;
padding: 20px;
padding-bottom: 10px;
margin-left: -20px;
margin-right: -20px;
margin-bottom: 20px;
padding: 10px 20px;
border-radius: 3px;

.bp5-dark & {
background-color: #5a701a;
}

&:first-child {
margin-top: -15px;
}

&:not(:first-child) {
margin-top: 15px;
}

&:last-child {
margin-bottom: -15px;
}
}
}

Expand Down

0 comments on commit f108a99

Please sign in to comment.