Skip to content

Commit ccc82c2

Browse files
committed
Switch tab order
This change aligns the UI more closely with GitHub desktop.
1 parent d6b27c6 commit ccc82c2

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

src/components/BranchHeader.tsx

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -128,17 +128,6 @@ export class BranchHeader extends React.Component<
128128
return (
129129
<div className={this.getBranchStyle()}>
130130
<div style={{ display: 'flex' }}>
131-
<div
132-
className={this.getHistoryHeaderStyle()}
133-
onClick={
134-
this.props.sideBarExpanded
135-
? null
136-
: () => this.props.toggleSidebar()
137-
}
138-
title={'Show commit history'}
139-
>
140-
<h3 className={historyLabelStyle}>History</h3>
141-
</div>
142131
<div
143132
className={this.getBranchHeaderStyle()}
144133
onClick={
@@ -184,6 +173,17 @@ export class BranchHeader extends React.Component<
184173
</h3>
185174
)}
186175
</div>
176+
<div
177+
className={this.getHistoryHeaderStyle()}
178+
onClick={
179+
this.props.sideBarExpanded
180+
? null
181+
: () => this.props.toggleSidebar()
182+
}
183+
title={'Show commit history'}
184+
>
185+
<h3 className={historyLabelStyle}>History</h3>
186+
</div>
187187
</div>
188188
{!this.props.sideBarExpanded && (
189189
<React.Fragment>

0 commit comments

Comments
 (0)