Skip to content

Commit

Permalink
fix: Ensure long text content fits within mat-card element (#344)
Browse files Browse the repository at this point in the history
Applied CSS styles to control the appearance of the text content within the mat-card element, preventing overflow issues. The text is now contained within a <div> element with a maximum height and scrolling capability for improved user experience.
  • Loading branch information
miladsoft committed May 23, 2024
1 parent 27489af commit 5246be8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions angular/src/app/sign/sign.component.css
Original file line number Diff line number Diff line change
Expand Up @@ -17,3 +17,6 @@
.verify-status {
text-align: center;
}
.overflow-auto{
overflow: auto;
}
2 changes: 1 addition & 1 deletion angular/src/app/sign/sign.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
</mat-select>
</mat-form-field>

<mat-card class="selectable">{{ address.value }}</mat-card
<mat-card class="selectable overflow-auto">{{ address.value }}</mat-card
><br />

<mat-form-field class="sign-full-width" appearance="fill">
Expand Down

0 comments on commit 5246be8

Please sign in to comment.