Skip to content

Commit 79bbfe6

Browse files
committed
Fixed bad format for some themes & status now easier to read
1 parent cac10c0 commit 79bbfe6

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

dist/main/atom/views/mainPanelView.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ var MainPanelView = (function (_super) {
7373
});
7474
});
7575
_this.div({
76-
style: 'display:inline-block'
76+
style: 'display:inline-block;overflow-x:visible;white-space:nowrap;'
7777
}, function () {
7878
_this.span({
7979
style: 'margin-left:10px; transition: color 1s',
@@ -184,11 +184,11 @@ var MainPanelView = (function (_super) {
184184
var status_1 = fileStatusCache_1.getFileStatus(filePath);
185185
_this.fileStatus.removeClass('icon-x icon-check text-error text-success hidden');
186186
if (status_1.emitDiffers || status_1.modified) {
187-
_this.fileStatus.text('Js emit is outdated');
187+
_this.fileStatus.text('JS Outdated');
188188
_this.fileStatus.addClass('icon-x text-error');
189189
}
190190
else {
191-
_this.fileStatus.text('Js emit up to date');
191+
_this.fileStatus.text('JS Current');
192192
_this.fileStatus.addClass('icon-check text-success');
193193
}
194194
}

lib/main/atom/views/mainPanelView.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ export class MainPanelView extends view.View<any> {
8888
});
8989

9090
this.div({
91-
style: 'display:inline-block'
91+
style: 'display:inline-block;overflow-x:visible;white-space:nowrap;'
9292
}, () => {
9393
this.span({
9494
style: 'margin-left:10px; transition: color 1s', // Added transition to make it easy to see *yes I just did this compile*.
@@ -212,10 +212,10 @@ export class MainPanelView extends view.View<any> {
212212
let status = getFileStatus(filePath);
213213
this.fileStatus.removeClass('icon-x icon-check text-error text-success hidden');
214214
if (status.emitDiffers || status.modified) {
215-
this.fileStatus.text('Js emit is outdated');
215+
this.fileStatus.text('JS Outdated');
216216
this.fileStatus.addClass('icon-x text-error');
217217
} else {
218-
this.fileStatus.text('Js emit up to date');
218+
this.fileStatus.text('JS Current');
219219
this.fileStatus.addClass('icon-check text-success');
220220
}
221221
}

0 commit comments

Comments
 (0)