Merge "Print styles: set minimum width for paragraphs"

This commit is contained in:
jenkins-bot 2017-09-14 16:45:08 +00:00 committed by Gerrit Code Review
commit 222403ee24
1 changed files with 15 additions and 0 deletions

View File

@ -122,6 +122,21 @@
line-height: 16pt;
margin-top: 5px;
text-align: justify;
// T175008
// When a paragraph is surrounded by floating elements from both
// sides, we want to make sure that there is at least some space
// before showing the text. Otherwise, small lengths of text may show
// between the surrounding elements, making the reading experience less
// enjoyable. If there is not enough space the following code will push
// the paragraph contents until after the floating element(s).
@paragraphMinWidth: 120pt;
&:before {
content: '';
display: block;
overflow: hidden;
width: @paragraphMinWidth;
}
}
blockquote {