Skip to content

Commit 0efe5aa

Browse files
committed
fix(ui): Restore conditional branching for wider-column
1 parent 70ff7ff commit 0efe5aa

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

app/javascript/mastodon/features/ui/index.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -651,7 +651,7 @@ class UI extends PureComponent {
651651

652652
return (
653653
<Hotkeys global handlers={handlers}>
654-
<div className={classNames('ui', { 'is-composing': isComposing }, { 'wider-column': widerColumn && advancedLayout })} ref={this.setRef}>
654+
<div className={classNames('ui', { 'is-composing': isComposing }, { 'wider-column': widerColumn && advancedLayout && !(layout === 'mobile' || layout === 'single-column') })} ref={this.setRef}>
655655
<SkipLinks
656656
multiColumn={layout === 'multi-column'}
657657
onFocusGettingStartedColumn={this.handleHotkeyGoToStart}

0 commit comments

Comments
 (0)