From aa7bdb089991efc7537980942f5376269ca3170d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bernat=20Borr=C3=A0s=20Civil?= <70479573+BernatBC@users.noreply.github.com> Date: Tue, 17 Oct 2023 22:39:53 +0300 Subject: [PATCH] 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 --- assets/styles/components/texts.scss | 2 ++ assets/styles/layouts/single.scss | 4 ++++ 2 files changed, 6 insertions(+) diff --git a/assets/styles/components/texts.scss b/assets/styles/components/texts.scss index 17734ac..72c727d 100644 --- a/assets/styles/components/texts.scss +++ b/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 { diff --git a/assets/styles/layouts/single.scss b/assets/styles/layouts/single.scss index b878ceb..f5aecf4 100644 --- a/assets/styles/layouts/single.scss +++ b/assets/styles/layouts/single.scss @@ -49,6 +49,10 @@ body.kind-page { margin-top: 0px; } + p { + text-align: center; + } + img { height: 120px; width: 120px;