fix(front): fix space around input icons

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
Thomas Citharel 2024-02-27 16:29:09 +01:00
parent a916d1806e
commit ba9299c632
No known key found for this signature in database
GPG key ID: A061B9DDE0CA0773
2 changed files with 9 additions and 1 deletions

View file

@ -110,7 +110,13 @@ body {
@apply border-red-500;
}
.input-icon-right {
right: 0.5rem;
@apply right-2;
}
.input-iconspace-left {
@apply pl-8;
}
.input-iconspace-right {
@apply pr-8;
}
.input[type="text"]:disabled,
.input[type="email"]:disabled {

View file

@ -34,6 +34,8 @@ export const orugaConfig = {
sizeClass: (size: string) => {
return `input-size-${size}`;
},
iconLeftSpaceClass: "input-iconspace-left",
iconRightSpaceClass: "input-iconspace-right",
},
taginput: {
itemClass: "taginput-item",