Within my HTML, I have a mat-panel with a description that is populated by a variable from the TS file. However, I am encountering an issue where if I shrink the panel and the description is too long, the text is cut off at the top and bottom. Is there a way to ensure that when the panel is minimized, it does not shrink beyond the total height of the description?
Here is the HTML snippet:
<mat-expansion-panel-header>
<mat-panel-title>
Filters
</mat-panel-title>
<mat-panel-description>
{{filteredDescription}}
</mat-panel-description>
</mat-expansion-panel-header>