File tree Expand file tree Collapse file tree 2 files changed +12
-4
lines changed
web-app/admin/src/app/admin/admin-layers/dashboard Expand file tree Collapse file tree 2 files changed +12
-4
lines changed Original file line number Diff line number Diff line change @@ -38,10 +38,13 @@ <h2 class="page-title">Layers</h2>
3838 < i class ="icon fa fa-map mr-2 " aria-hidden ="true "> </ i >
3939 < div class ="w-100 ">
4040 < div class ="strong "> {{ layer.name }}</ div >
41- < div [matTooltip] ="layer.description " [matTooltipDisabled] ="
42- !layer.description || layer.description.length <= numChars
43- " matTooltipClass ="mat-tooltip-event-desc " class ="w-90 ">
44- < p class ="muted ellipsis "> {{ layer.description }}</ p >
41+ < div class ="d-flex align-items-center ">
42+ < p class ="muted ellipsis description-text " [matTooltip] ="layer.description "
43+ [matTooltipDisabled] ="!layer.description || layer.description.length <= 100 "
44+ matTooltipClass ="mat-tooltip-event-desc ">
45+ {{ layer.description || 'No description' }}
46+ </ p >
47+ < span *ngIf ="layer.type "> {{ layer.type }}</ span >
4548 </ div >
4649 </ div >
4750 </ div >
Original file line number Diff line number Diff line change @@ -333,4 +333,9 @@ $max-height: 72.8vh;
333333
334334.w-90 {
335335 width : 90% !important ;
336+ }
337+
338+ .description-text {
339+ max-width : 40% ;
340+ margin-bottom : 0 ;
336341}
You can’t perform that action at this time.
0 commit comments