orangeCatDeveloper commented on issue #1865:
URL: https://github.com/apache/hertzbeat/issues/1865#issuecomment-5235357855

   This can no longer occur on master — the rendering that caused the wrapping 
has been removed.
   
   In v1.5.0 the unit tag was rendered next to every value, so a long mount 
path squeezed the column and pushed `Mb` onto its own line:
   
   ```html
   <td *ngFor="let value of valueRow.values; let i = index">
     {{ value.origin }}
     <nz-tag *ngIf="fields[i].unit" nzColor="success">{{ fields[i].unit 
}}</nz-tag>
   </td>
   ```
   
   Two later changes eliminated the structure:
   
   - #2168 removed the per-value unit tags from the data cells
   - #3199 moved the unit into the column header (`<th>... <nz-tag 
*ngIf="field.unit">{{ field.unit }}</nz-tag>`)
   
   Today a data cell renders only `{{ value.origin }}` with `nzEllipsis` + 
tooltip, so long filesystem paths are truncated with `…` instead of squeezing 
the columns. The `df -mP` collection side was never at fault.
   
   Suggest closing this as resolved by #2168 / #3199.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to