Skip to content

Commit cc79565

Browse files
fix[frontend](file_classification): sync scroll with logexplorer one
1 parent 6f42702 commit cc79565

File tree

3 files changed

+7
-11
lines changed

3 files changed

+7
-11
lines changed

frontend/src/app/data-management/file-management/file-view/file-view.component.html

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
<div class="main-container">
21
<div class="container-fluid pr-3 pl-3 pt-2">
32
<div class="d-flex justify-content-between align-items-center mb-2">
43
<h5 class="card-title mb-0 text-uppercase label-header">
@@ -13,7 +12,7 @@ <h5 class="card-title mb-0 text-uppercase label-header">
1312
</div>
1413

1514
<!--TABLE-->
16-
<div class="d-flex flex-nowrap overflow-y-auto m-0 align-items-start">
15+
<div class="d-flex flex-nowrap overflow-y-auto m-0 align-items-start ">
1716
<div (resizeEnd)="onResize($event)"
1817
(resizing)="onResize($event)"
1918
[enableGhostResize]="true"
@@ -40,8 +39,8 @@ <h5 class="card-title mb-0 text-uppercase label-header">
4039
</div>
4140
</div>
4241
<div [ngStyle]="{'max-width':tableWidth+'px'}"
43-
class="table-responsive resizable-table-responsive h-100">
44-
<table class="table text-nowrap">
42+
class="table-responsive resizable-table-responsive main-container">
43+
<table class="table text-nowrap sticky">
4544
<thead>
4645
<tr>
4746
<th class="text-left" style="width: 10px;padding-left: 10px;}">
@@ -71,7 +70,7 @@ <h5 class="card-title mb-0 text-uppercase label-header">
7170
</th>
7271
</tr>
7372
</thead>
74-
<tbody *ngIf="files && files.length>0">
73+
<tbody *ngIf="files && files.length>0" >
7574
<tr *ngFor="let file of files" class="cursor-pointer">
7675
<td class="text-center">
7776
<!-- <div class="d-flex justify-content-between align-items-center h-100 w-100 small-md-icon">-->
@@ -157,4 +156,3 @@ <h6 class="card-title text-blue-800 font-weight-light">
157156
<app-file-detail [file]="viewFileDetail"></app-file-detail>
158157
</div>
159158
</div>
160-
</div>
Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
11
.main-container{
2-
margin: 0px;
3-
padding: 0px;
4-
max-height: 90dvh;
2+
max-height: 70dvh;
53
overflow-y: auto;
64
}

frontend/src/environments/environment.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@
44

55
export const environment = {
66
production: false,
7-
// SERVER_API_URL: 'https://192.168.1.18/',
8-
SERVER_API_URL: 'http://localhost:8080/',
7+
SERVER_API_URL: 'https://192.168.1.18/',
8+
// SERVER_API_URL: 'http://localhost:8080/',
99
SERVER_API_CONTEXT: '',
1010
SESSION_AUTH_TOKEN: window.location.host.split(':')[0].toLocaleUpperCase(),
1111
WEBSOCKET_URL: '//localhost:8080',

0 commit comments

Comments
 (0)