Skip to content

Commit

Permalink
Right align model create button and fix padding around it
Browse files Browse the repository at this point in the history
  • Loading branch information
romeonicholas committed Oct 25, 2023
1 parent 9d1b202 commit 9795d6e
Showing 1 changed file with 18 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

<div class="flex-center">
<mat-card
class="w-[400px] max-w-[85vw] !pb-0.5 pr-0"
class="w-[400px] max-w-[85vw]"
*ngIf="projectService.project$ | async"
>
<form [formGroup]="form" (ngSubmit)="onSubmit()">
Expand Down Expand Up @@ -48,8 +48,23 @@
</mat-error>
</mat-form-field>
</fieldset>
<div class="flex justify-between">
<div class="flex-container">
<div></div>
<div>
<button
mat-raised-button
color="primary"
type="submit"
[disabled]="!form.valid"
>
Create model
<mat-icon class="mat-icon-position right">arrow_forward</mat-icon>
</button>
</div>
</div>
<!-- <div class="flex justify-between">
<button
class="button-wrapper"
mat-raised-button
color="primary"
type="submit"
Expand All @@ -58,7 +73,7 @@
Create model
<mat-icon class="mat-icon-position right">arrow_forward</mat-icon>
</button>
</div>
</div> -->
</form>
</mat-card>
</div>

0 comments on commit 9795d6e

Please sign in to comment.