about summary refs log tree commit diff
path: root/app/views/layouts
diff options
context:
space:
mode:
authorFire Demon <firedemon@creature.cafe>2020-07-24 23:56:06 -0500
committerFire Demon <firedemon@creature.cafe>2020-08-30 05:45:15 -0500
commit9bd0bb4e260d1dee975f4b4e50ca52c04e7c317f (patch)
tree405ba30326d276da5146c89d66852afc7415a2a7 /app/views/layouts
parent9c75c01decf1fbdb32350998c39a9d7fdeb00951 (diff)
[UI, Accessibiity] Make dashed nest level indicators optional
Diffstat (limited to 'app/views/layouts')
-rwxr-xr-xapp/views/layouts/application.html.haml6
1 files changed, 6 insertions, 0 deletions
diff --git a/app/views/layouts/application.html.haml b/app/views/layouts/application.html.haml
index 3336cf391..98ee041c1 100755
--- a/app/views/layouts/application.html.haml
+++ b/app/views/layouts/application.html.haml
@@ -40,6 +40,12 @@
     - if Setting.custom_css.present?
       = stylesheet_link_tag custom_css_path, media: 'all'
 
+    - if current_account&.user&.setting_style_dashed_nest
+      :css
+        div[data-nest-level] {
+          border-style: dashed;
+        }
+
   %body{ class: body_classes }
     = content_for?(:content) ? yield(:content) : yield