Skip to content

Commit 46a0609

Browse files
committed
Always give the title controls some space
1 parent 555f091 commit 46a0609

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/components/CompanionWindow.js

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -217,9 +217,8 @@ export class CompanionWindow extends Component {
217217
titleControls && (
218218
<StyledTitleControls
219219
sx={{
220-
...(!isBottom && {
221-
flexGrow: 1,
222-
}),
220+
justifyContent: isBottom ? 'flex-end' : 'flex-start',
221+
flexGrow: 1,
223222
order: isBottom || size.width < 370 ? 'unset' : 1000,
224223
}}
225224
className={ns('companion-window-title-controls')}

0 commit comments

Comments
 (0)