diff --git a/webClient/src/app/editor/code-editor/file-tabs/file-tabs.component.html b/webClient/src/app/editor/code-editor/file-tabs/file-tabs.component.html index 94fef3ad..c8317f58 100644 --- a/webClient/src/app/editor/code-editor/file-tabs/file-tabs.component.html +++ b/webClient/src/app/editor/code-editor/file-tabs/file-tabs.component.html @@ -8,11 +8,11 @@ Copyright Contributors to the Zowe Project. --> - +
  • - {{item.name}} + {{item.name}} clear fiber_manual_record
  • diff --git a/webClient/src/app/editor/code-editor/file-tabs/file-tabs.component.scss b/webClient/src/app/editor/code-editor/file-tabs/file-tabs.component.scss index 076c2576..a65cb181 100644 --- a/webClient/src/app/editor/code-editor/file-tabs/file-tabs.component.scss +++ b/webClient/src/app/editor/code-editor/file-tabs/file-tabs.component.scss @@ -11,30 +11,42 @@ :host { display: block; margin-top: -32px; + height: 32px; + max-height: 32px; .tabs-container { - height: 32px; width: 100%; + max-height: 32px; background-color: #303030; .tabs-file-list { list-style-type: none; display: flex; - justify-content: start; + justify-content: flex-start; + margin-bottom: 0; height: 100%; .tabs-file { display: inline-block; flex-shrink: 0; flex-basis: 150px; line-height: 22px; + max-height: 32px; padding: 5px 10px; color: #e0e0e0; border-right: 1px solid #212121; + white-space: nowrap; + text-align: left; cursor: pointer; + .filename{ + width: 100px; + text-overflow: ellipsis; + overflow: hidden; + float: left; + } &.active { border-bottom: 3px solid #3f51b5; } .changed-file { text-align: center; - line-height: 24px; + line-height: 32px; font-size: 12px; float: right; width: 12px; @@ -43,7 +55,7 @@ } .close-file { text-align: right; - line-height: 24px; + line-height: 22px; font-size: 16px; float: right; } diff --git a/webClient/src/app/editor/code-editor/file-tabs/file-tabs.component.ts b/webClient/src/app/editor/code-editor/file-tabs/file-tabs.component.ts index 465342d4..8c48c0e9 100644 --- a/webClient/src/app/editor/code-editor/file-tabs/file-tabs.component.ts +++ b/webClient/src/app/editor/code-editor/file-tabs/file-tabs.component.ts @@ -31,6 +31,13 @@ export class FileTabsComponent implements OnInit { wheelPropagation: true, }; + private fileTabsScrollConfig = { + wheelPropagation: true, + suppressScrollY: true, + suppressScrollX: false, + useBothWheelAxes: true + }; + constructor(@Inject(Angular2InjectionTokens.VIEWPORT_EVENTS) private viewportEvents: Angular2PluginViewportEvents) { } ngOnInit() { diff --git a/webClient/src/app/editor/frame/frame.component.scss b/webClient/src/app/editor/frame/frame.component.scss index 5305f39d..2405507a 100644 --- a/webClient/src/app/editor/frame/frame.component.scss +++ b/webClient/src/app/editor/frame/frame.component.scss @@ -162,10 +162,10 @@ } } .gz-editor { - // width: 100%; height: 100%; position: relative; - flex: 1 0 auto; + flex: 1 1 auto; + overflow: hidden; } } }