Skip to content

Commit

Permalink
feat(input): fix css bug
Browse files Browse the repository at this point in the history
  • Loading branch information
dilandoogan committed Dec 18, 2024
1 parent 23a3513 commit f40ca71
Showing 1 changed file with 8 additions and 12 deletions.
20 changes: 8 additions & 12 deletions src/components/input/bl-input.css
Original file line number Diff line number Diff line change
Expand Up @@ -58,16 +58,13 @@
gap: var(--padding-vertical);
height: var(--height);
border: solid var(--border-size) var(--border-color);
padding: 0
calc(
var(--bl-input-padding-end, var(--padding-horizontal)) - var(--label-padding) -
var(--border-size)
)
0
calc(
var(--bl-input-padding-start, var(--padding-horizontal)) - var(--label-padding) -
var(--border-size)
);
padding: 0 calc(
var(--bl-input-padding-end, var(--padding-horizontal)) - var(--label-padding) -
var(--border-size)
) 0 calc(
var(--bl-input-padding-start, var(--padding-horizontal)) - var(--label-padding) -
var(--border-size)
);
background-color: var(--background-color);
border-radius: var(--bl-size-3xs);
margin: 0;
Expand Down Expand Up @@ -113,7 +110,7 @@ label {
.has-icon label {
inset-inline-end: calc(
var(--bl-input-padding-end, var(--padding-horizontal)) + var(--icon-size) +
var(--padding-vertical)
var(--padding-vertical)
);
}

Expand All @@ -140,7 +137,6 @@ input {
color: var(--text-color);
-webkit-text-fill-color: var(--text-color);
background-color: transparent;
cursor: var(--bl-input-cursor, not-allowed);
}

input::-webkit-credentials-auto-fill-button {
Expand Down

0 comments on commit f40ca71

Please sign in to comment.