Skip to content

Commit 58b90e2

Browse files
committed
Refactoring HTML and CSS Code
1 parent 4cfca41 commit 58b90e2

File tree

2 files changed

+10
-5
lines changed

2 files changed

+10
-5
lines changed

src/app/modules/reports/components/time-entries-table/time-entries-table.component.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@
4545
</ng-container>
4646
</td>
4747
<td class="col lg-col-scroll">{{ entry.description }}</td>
48-
<td class="col lg-col">
48+
<td class="col lg-col-scroll tech-style">
4949
<ng-container *ngIf="entry.technologies.length > 0">
5050
<div *ngFor="let technology of entry.technologies" class="badge bg-secondary text-wrap">
5151
{{ technology }}
@@ -55,4 +55,4 @@
5555
</tr>
5656
</tbody>
5757
</table>
58-
</div>
58+
</div>

src/app/modules/reports/components/time-entries-table/time-entries-table.component.scss

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,9 @@
88
}
99

1010
.col-height {
11-
min-height: 80px;
12-
max-height: 150px;
11+
min-height: auto;
12+
max-height: 7rem;
13+
// height: auto;
1314
}
1415

1516
.x-sm-col {
@@ -44,6 +45,10 @@
4445
overflow-y: auto;
4546
}
4647

48+
.tech-style{
49+
width: 12em;
50+
}
51+
4752
.lg-col-scroll::-webkit-scrollbar {
4853
width: 0.5em;
4954
}
@@ -128,4 +133,4 @@ table.dataTable thead .sorting_desc {
128133
text-transform: capitalize;
129134
font-style: italic;
130135
cursor: pointer;
131-
}
136+
}

0 commit comments

Comments
 (0)