ソースを参照

Justify post content (issue #831: Text in post is not justified) (#815)

* Justify content

* Justify content

* Remove redundant justification

* Remove inline css

---------

Co-authored-by: Emruz Hossain <hossainemruz@gmail.com>
Bernat Borràs Civil 1 年間 前
コミット
aa7bdb0899
2 ファイル変更6 行追加0 行削除
  1. 2 0
      assets/styles/components/texts.scss
  2. 4 0
      assets/styles/layouts/single.scss

+ 2 - 0
assets/styles/components/texts.scss

@@ -12,6 +12,8 @@ strong {
 
 p {
   color: get-light-color('text-color');
+  text-align: justify;
+  text-justify: inter-word;
 }
 
 input {

+ 4 - 0
assets/styles/layouts/single.scss

@@ -49,6 +49,10 @@ body.kind-page {
                 margin-top: 0px;
               }
 
+              p {
+                text-align: center;
+              }
+
               img {
                 height: 120px;
                 width: 120px;