Skip to content

Commit

Permalink
Merge pull request #10 from dadamson/main
Browse files Browse the repository at this point in the history
add white-space: pre to span css
  • Loading branch information
kevin91nl authored Jun 3, 2024
2 parents 2b3525d + 0d2d897 commit 95a4826
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion text_highlighter/frontend/src/style.css
Original file line number Diff line number Diff line change
@@ -1,8 +1,11 @@
/* Structure: <mark>Annotated text <span>TAG</span></mark> */
/* Now, the span is displayed right from the annotated text */
/* Display the tag below the annotated text (centered and having the same width) */
span {
white-space: pre-wrap;
}
mark {
display: inline-block;
display: inline;
position: relative;
padding: 0 !important;
color: inherit;
Expand Down

0 comments on commit 95a4826

Please sign in to comment.