diff --git a/text_highlighter/frontend/src/style.css b/text_highlighter/frontend/src/style.css index fb091c3..351773f 100644 --- a/text_highlighter/frontend/src/style.css +++ b/text_highlighter/frontend/src/style.css @@ -1,8 +1,11 @@ /* Structure: Annotated text TAG */ /* 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;