Skip to content
Snippets Groups Projects
Commit 5bb99ff9 authored by Florent Poittevin's avatar Florent Poittevin
Browse files

style: add better message when no data in table

parent f7bec4cc
No related branches found
No related tags found
No related merge requests found
...@@ -131,7 +131,8 @@ ...@@ -131,7 +131,8 @@
<div *ngIf="isDatasPresent === false" <div *ngIf="isDatasPresent === false"
class="no-datas" class="no-datas"
> >
{{'table.nodata' | translate}} <mat-icon class="icon">sentiment_dissatisfied</mat-icon>
<span class="message">{{'table.nodata' | translate}}</span>
</div> </div>
<dlcm-shared-paginator *ngIf="queryParameters && isDatasPresent === true" <dlcm-shared-paginator *ngIf="queryParameters && isDatasPresent === true"
......
...@@ -59,7 +59,26 @@ $inputGroupTextColor: #444444; ...@@ -59,7 +59,26 @@ $inputGroupTextColor: #444444;
.data-table { .data-table {
.no-datas { .no-datas {
text-align: center; display: flex;
justify-content: center;
align-items: center;
flex-direction: column;
height: 150px;
background-color: $extra-ultra-light-grey;
color: $medium-light-grey;
.icon {
font-size: 40px;
line-height: 40px;
width: 40px;
height: 40px;
color: $medium-light-grey;
}
.message {
padding-top: 10px;
font-size: 16px;
}
} }
tbody { tbody {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment