diff options
author | multiple creatures <dev@multiple-creature.party> | 2019-12-10 03:04:05 -0600 |
---|---|---|
committer | multiple creatures <dev@multiple-creature.party> | 2019-12-10 03:04:05 -0600 |
commit | 13f49590347dd350c534663c2876ab4db5613aba (patch) | |
tree | 7cb9f714d199e6a3bb3de3d5c04f943ec04dc54b /app/views | |
parent | 41b0d10e88e02810006657c27b8ea3576646d45e (diff) |
add accessibility option to make everything lowercase
Diffstat (limited to 'app/views')
-rwxr-xr-x | app/views/layouts/application.html.haml | 4 | ||||
-rw-r--r-- | app/views/settings/preferences/show.html.haml | 1 |
2 files changed, 5 insertions, 0 deletions
diff --git a/app/views/layouts/application.html.haml b/app/views/layouts/application.html.haml index 985e54683..a471d7b6f 100755 --- a/app/views/layouts/application.html.haml +++ b/app/views/layouts/application.html.haml @@ -87,6 +87,10 @@ :css span.cursor:hover { animation: t_blink 1s linear infinite } + - if current_account&.user_forces_lowercase? + :css + * { text-transform: lowercase; font-variant: inherit !important; } + %body{ class: body_classes } = content_for?(:content) ? yield(:content) : yield diff --git a/app/views/settings/preferences/show.html.haml b/app/views/settings/preferences/show.html.haml index bde3dcf23..74a643c14 100644 --- a/app/views/settings/preferences/show.html.haml +++ b/app/views/settings/preferences/show.html.haml @@ -81,6 +81,7 @@ = f.input :setting_larger_drawer, as: :boolean, wrapper: :with_label = f.input :setting_larger_emoji, as: :boolean, wrapper: :with_label = f.input :setting_show_cursor, as: :boolean, wrapper: :with_label + = f.input :setting_force_lowercase, as: :boolean, wrapper: :with_label .fields-group = f.input :setting_hide_mascot, as: :boolean, wrapper: :with_label |