Skip to content

Commit

Permalink
fix visual
Browse files Browse the repository at this point in the history
  • Loading branch information
gaetancollaud committed Jan 8, 2024
1 parent 39fefba commit 1cffc93
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 6 deletions.
5 changes: 4 additions & 1 deletion src/app/ascii-input/ascii-input.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,10 @@
</p>
<form [formGroup]="formGroup">
<mat-form-field appearance="outline">
<textarea matInput placeholder="Paste here"
<textarea matInput
placeholder="Paste here"
cdkTextareaAutosize #autosize="cdkTextareaAutosize"
cdkAutosizeMinRows="20" cdkAutosizeMaxRows="20"
formControlName="ascii"></textarea>
</mat-form-field>
</form>
Expand Down
13 changes: 8 additions & 5 deletions src/app/ascii-input/ascii-input.component.scss
Original file line number Diff line number Diff line change
@@ -1,9 +1,12 @@
mat-form-field{
mat-form-field {
width: 100%;

}
textarea{
height: 300px;

mat-card-actions {
justify-content: center;
}
mat-card-actions{
text-align: center;

mat-card {
color: white;
}

0 comments on commit 1cffc93

Please sign in to comment.