Add ripple everywhere.

This commit is contained in:
Florian THIERRY
2024-10-21 15:15:53 +02:00
committed by Florian THIERRY
parent 053ac89e3c
commit 7f99d11209
25 changed files with 163 additions and 140 deletions

View File

@@ -1,10 +1,10 @@
<button type="button" class="close" (click)="closeDialog()">
<button type="button" class="close" (click)="closeDialog()" matRipple>
<mat-icon>close</mat-icon>
</button>
<header>
<h1 i18n>Add a code block</h1>
</header>
<form [formGroup]="formGroup" (submit)="closeAndValidate()" ngNativeValidate>
<form [formGroup]="formGroup" (submit)="closeAndValidate()" class="cod-form" ngNativeValidate>
<div class="form-content">
<mat-form-field>
<mat-label i18n>Programming language</mat-label>
@@ -21,11 +21,11 @@
<textarea matInput formControlName="codeBlock"></textarea>
</mat-form-field>
</div>
<div class="actions">
<button type="submit" i18n>
<div class="actions reversed">
<button type="submit" class="cod-btn" matRipple i18n>
Validate
</button>
<button type="button" (click)="closeDialog()" class="secondary" i18n>
<button type="button" (click)="closeDialog()" class="cod-btn secondary" matRipple i18n>
Cancel
</button>
</div>