diff options
author | multiple creatures <dev@multiple-creature.party> | 2019-04-15 19:41:03 -0500 |
---|---|---|
committer | multiple creatures <dev@multiple-creature.party> | 2019-05-21 03:16:22 -0500 |
commit | dfbc2fc51862157e095dbd42c90979c3877a0161 (patch) | |
tree | 3aa25422d838fe534780238ca24b5362d7b517ba /app/views | |
parent | 1930b2332d4de7be92acaf1818ba7c936ec0fde8 (diff) |
Add options to increase size and spacing of action buttons and width of compose drawer.
Diffstat (limited to 'app/views')
-rwxr-xr-x | app/views/layouts/application.html.haml | 18 | ||||
-rw-r--r-- | app/views/settings/preferences/show.html.haml | 2 |
2 files changed, 20 insertions, 0 deletions
diff --git a/app/views/layouts/application.html.haml b/app/views/layouts/application.html.haml index 8533fba76..01ae25389 100755 --- a/app/views/layouts/application.html.haml +++ b/app/views/layouts/application.html.haml @@ -59,5 +59,23 @@ .dropdown--active .dropdown__content > ul > li > a { padding: 14px 0 !important; font-size: 14px !important } + - if current_account&.user&.setting_larger_buttons + :css + .drawer { min-width: 350px !important } + .status__action-bar .icon-button, + .detailed-status__action-bar .icon-button, + .composer--options .icon-button + { + font-size: 24px !important; + height: 24px !important; + width: 24px !important; + line-height: 24px !important; + margin-right: 24px; + } + + - if current_account&.user&.setting_larger_drawer + :css + .drawer { min-width: 400px !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 f3ae65c94..945384204 100644 --- a/app/views/settings/preferences/show.html.haml +++ b/app/views/settings/preferences/show.html.haml @@ -59,6 +59,8 @@ = f.input :setting_system_font_ui, as: :boolean, wrapper: :with_label = f.input :setting_hide_captions, as: :boolean, wrapper: :with_label = f.input :setting_larger_menus, as: :boolean, wrapper: :with_label + = f.input :setting_larger_buttons, as: :boolean, wrapper: :with_label + = f.input :setting_larger_drawer, as: :boolean, wrapper: :with_label .fields-group = f.input :setting_unfollow_modal, as: :boolean, wrapper: :with_label |