Added preliminary files modal; fixed tabs scroll issue; fixed missing build deps

This commit is contained in:
2025-06-15 00:43:33 -05:00
parent f28dfa84c2
commit ef56b8c84b
14 changed files with 218 additions and 12 deletions

View File

@@ -1,6 +1,9 @@
.display-contents {
display: contents;
}
.tab {
display: flex;
overflow: auto;
float: left;
margin-right: 2em;
font-size: 0.2em;

View File

@@ -4,6 +4,7 @@
cdkDropListOrientation="horizontal"
(cdkDropListDropped)="dropped($event)"
(click)="handleAction($event)"
class="display-contents"
>
<div *ngFor="let tab of tabs"

View File

@@ -21,7 +21,7 @@ import { ServiceMessage } from '../../common/types/service-message.type';
templateUrl: './tabs.component.html',
styleUrl: './tabs.component.css',
host: {
'class': 'row tabs scroller'
'class': 'tabs scroller'
}
})
export class TabsComponent {
@@ -42,8 +42,9 @@ export class TabsComponent {
this.tabsService.getData$().pipe(
takeUntil(this.unsubscribe)
).subscribe((data: ServiceMessage) => {
if (data.action === "create-tab")
if (data.action === "create-tab") {
this.createTab(data.message, data.uuid, data.data);
}
});
}