Skip to content

Commit 83f1bf1

Browse files
committed
[maud] Enable wider column only if advanced layout enabled
* wider-column breaks single column mode Signed-off-by: lindwurm <lindwurm.q@gmail.com>
1 parent 32cc8e3 commit 83f1bf1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/helpers/application_helper.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@ def body_classes
176176
output << 'system-font' if current_account&.user&.setting_system_font_ui
177177
output << (current_account&.user&.setting_reduce_motion ? 'reduce-motion' : 'no-reduce-motion')
178178
output << 'bigger-publish' if current_account&.user&.setting_bigger_publish
179-
output << 'wider-column' if current_account&.user&.setting_wider_column
179+
output << 'wider-column' if (current_account&.user&.setting_advanced_layout && current_account&.user&.setting_wider_column)
180180
output << 'rtl' if locale_direction == 'rtl'
181181
output.reject(&:blank?).join(' ')
182182
end

0 commit comments

Comments
 (0)