Skip to content

Commit e34f1a3

Browse files
committed
fix(mainpanel) make lineheight equal to github loading icon. Closes #622
1 parent 697e566 commit e34f1a3

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

dist/main/atom/views/mainPanelView.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ var MainPanelView = (function (_super) {
6565
});
6666
_this.span({
6767
class: 'layout horizontal atomts-panel-header',
68-
style: 'align-items: center; flex: 1 1 auto'
68+
style: 'align-items: center; flex: 1 1 auto; line-height: 24px;'
6969
}, function () {
7070
_this.div({
7171
style: 'cursor: pointer;',

lib/main/atom/views/mainPanelView.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ export class MainPanelView extends view.View<any> {
7878

7979
this.span({
8080
class: 'layout horizontal atomts-panel-header',
81-
style: 'align-items: center; flex: 1 1 auto'
81+
style: 'align-items: center; flex: 1 1 auto; line-height: 24px;' // Line height is equal to height of github loading icon
8282
}, () => {
8383
this.div({
8484
style: 'cursor: pointer;',

0 commit comments

Comments
 (0)