From d2495fbc2ef1ae5e81660a911e1b480e4661dc23 Mon Sep 17 00:00:00 2001 From: Simon Legner Date: Fri, 22 Oct 2021 21:24:32 +0200 Subject: [PATCH] Settings: justified layout and hyphenation --- assets/javascripts/app/settings.coffee | 7 ++++++- assets/javascripts/templates/pages/settings_tmpl.coffee | 3 +++ assets/stylesheets/components/_content.scss | 5 +++++ 3 files changed, 14 insertions(+), 1 deletion(-) diff --git a/assets/javascripts/app/settings.coffee b/assets/javascripts/app/settings.coffee index b885fd5e..eef7acf3 100644 --- a/assets/javascripts/app/settings.coffee +++ b/assets/javascripts/app/settings.coffee @@ -24,7 +24,12 @@ class app.Settings 'news' ] - LAYOUTS: ['_max-width', '_sidebar-hidden', '_native-scrollbars'] + LAYOUTS: [ + '_max-width' + '_sidebar-hidden' + '_native-scrollbars' + '_text-justify-hyphenate' + ] @defaults: count: 0 diff --git a/assets/javascripts/templates/pages/settings_tmpl.coffee b/assets/javascripts/templates/pages/settings_tmpl.coffee index 1bf8e15e..73c65650 100644 --- a/assets/javascripts/templates/pages/settings_tmpl.coffee +++ b/assets/javascripts/templates/pages/settings_tmpl.coffee @@ -27,6 +27,9 @@ app.templates.settingsPage = (settings) -> """ +