diff --git a/scilog/src/app/overview/overview-table/overview-table.component.html b/scilog/src/app/overview/overview-table/overview-table.component.html index aa1c7615..f6bd2ff5 100644 --- a/scilog/src/app/overview/overview-table/overview-table.component.html +++ b/scilog/src/app/overview/overview-table/overview-table.component.html @@ -3,27 +3,43 @@ (cdkDropListDropped)="drop($event)" (matSortChange)="onSortChange()"> Title - {{row.name}} + +
+ {{row.name}} +
+
Description - {{row.description}} + +
+ {{row.description}} +
+
ownerGroup - {{row.ownerGroup}} + +
+ {{row.ownerGroup}} +
+
Date - {{row.createdAt | date}} + +
+ {{row.createdAt | date}} +
+
Thumbnail - + diff --git a/scilog/src/app/overview/overview-table/overview-table.component.scss b/scilog/src/app/overview/overview-table/overview-table.component.scss index a503227e..e25a1e39 100644 --- a/scilog/src/app/overview/overview-table/overview-table.component.scss +++ b/scilog/src/app/overview/overview-table/overview-table.component.scss @@ -3,13 +3,6 @@ table { table-layout: fixed; } -table th, -table td { - white-space: nowrap; - overflow: scroll; -} - - .logbooks:hover { background-color: var(--main-background)!important; -webkit-transition: background-color 100ms linear, color 100ms linear; @@ -18,11 +11,20 @@ table td { } .logbooks { - height: 65px; + height: 50px; +} + +.scrollable-text { + white-space: nowrap; + overflow: scroll; + margin-right: 10px; + scrollbar-width: none; } .logbooks img { - max-height: 60px; + max-height: 45px; + height: 100%; + margin-top: 2px; object-fit: contain; } @@ -34,7 +36,7 @@ table td { } .scrollable-container { - max-height: 65px * 11; + max-height: calc(100vh - 250px); width: 100%; overflow: auto; }