Skip to content

Commit

Permalink
Merge pull request #361 from nature-of-code/dev/fill-in-blank
Browse files Browse the repository at this point in the history
Make fill-in-blank text transparent and add background
  • Loading branch information
shiffman authored Aug 1, 2023
2 parents b6eb2b6 + 2588d74 commit bd773ea
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions magicbook/stylesheets/components/codesplit.scss
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@
padding: 2pt 0;
margin: 4pt 5mm 4pt 10.25mm;

span.blank {
background: white;
}

&:after {
content: '';
display: block;
Expand Down Expand Up @@ -45,6 +49,11 @@

.no-comment {
background: transparent;

span.blank {
background: $color-gray-200;
}

.code {
width: 100%;
}
Expand All @@ -60,4 +69,8 @@
.bold {
font-weight: bold;
}

span.blank {
color: transparent;
}
}

0 comments on commit bd773ea

Please sign in to comment.