Browse Source

fixes last line justify of splited paragraphes

Bachir Soussi Chiadmi 4 years ago
parent
commit
d4e1e67929
1 changed files with 4 additions and 1 deletions
  1. 4 1
      src/css/styles_de_paragraphes.scss

+ 4 - 1
src/css/styles_de_paragraphes.scss

@@ -162,10 +162,13 @@
 	text-align: justify;
 	hyphens: auto;
 	//text-justify: inter-character;
-	text-align-last: left !important;
+	// text-align-last: left !important;
 	hyphens: auto;
 	hanging-punctuation: first;
 }
+.justify[data-split-to] p:last-of-type{
+	text-align-last: justify;
+}
 
 .section-content p {
 	text-align: left;