-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix bugs in form-input with wider fonts
- Loading branch information
Showing
1 changed file
with
3 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,10 @@ | ||
<div class="text-left"> | ||
<div class="bg-teritary focus-within:text-secondary-bright text-secondary px-5 py-2 rounded w-[19rem] drop-shadow-lg flex focus-within:outline-secondary-bright focus-within:outline-2 focus-within:outline"> | ||
<div class="bg-teritary focus-within:text-secondary-bright text-secondary px-5 py-2 rounded drop-shadow-lg flex focus-within:outline-secondary-bright focus-within:outline-2 focus-within:outline"> | ||
<fa-icon [icon]="_icon" class="pr-2 flex-shrink"></fa-icon> | ||
<input *ngIf="!multiline" [type]="_type" class="bg-teritary placeholder:focus:text-secondary-bright placeholder:text-secondary text-foreground placeholder:italic flex-grow border-none outline-none" | ||
<input *ngIf="!multiline" [type]="_type" class="bg-teritary placeholder:focus:text-secondary-bright placeholder:text-secondary text-foreground placeholder:italic flex-grow border-none outline-none overflow-hidden" | ||
[placeholder]="_name" [readOnly]="_readonly" [value]="value" (input)="onChange($event)"> | ||
|
||
<textarea *ngIf="multiline" class="bg-teritary placeholder:focus:text-secondary-bright placeholder:text-secondary text-foreground placeholder:italic flex-grow border-none outline-none" | ||
<textarea *ngIf="multiline" class="bg-teritary placeholder:focus:text-secondary-bright placeholder:text-secondary text-foreground placeholder:italic flex-grow border-none outline-none min-h-[1.6rem] max-w-fit" | ||
[placeholder]="_name" [readOnly]="_readonly" [value]="value" (input)="onChange($event)"></textarea> | ||
</div> | ||
</div> |