Skip to content

Commit

Permalink
Always give the title controls some space
Browse files Browse the repository at this point in the history
  • Loading branch information
cbeer committed Nov 22, 2023
1 parent 555f091 commit 46a0609
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/components/CompanionWindow.js
Original file line number Diff line number Diff line change
Expand Up @@ -217,9 +217,8 @@ export class CompanionWindow extends Component {
titleControls && (
<StyledTitleControls
sx={{
...(!isBottom && {
flexGrow: 1,
}),
justifyContent: isBottom ? 'flex-end' : 'flex-start',
flexGrow: 1,

Check failure on line 221 in src/components/CompanionWindow.js

View workflow job for this annotation

GitHub Actions / build (16.x)

Expected object keys to be in insensitive ascending order. 'flexGrow' should be before 'justifyContent'

Check failure on line 221 in src/components/CompanionWindow.js

View workflow job for this annotation

GitHub Actions / build (18.x)

Expected object keys to be in insensitive ascending order. 'flexGrow' should be before 'justifyContent'

Check failure on line 221 in src/components/CompanionWindow.js

View workflow job for this annotation

GitHub Actions / build (19.x)

Expected object keys to be in insensitive ascending order. 'flexGrow' should be before 'justifyContent'
order: isBottom || size.width < 370 ? 'unset' : 1000,
}}
className={ns('companion-window-title-controls')}
Expand Down

0 comments on commit 46a0609

Please sign in to comment.