Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(input): wrong padding in indigo theme #844

Merged
merged 8 commits into from
Aug 1, 2023
4 changes: 4 additions & 0 deletions src/components/combo/themes/light/combo.indigo.scss
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,10 @@ $theme: digest-schema($combo-schema);
@include css-vars-from-theme($dropdown-theme, 'ig-dropdown');


igc-input::part(container) {
padding-inline: 0;
}

[part='helper-text'] {
margin-top: rem(6px);
padding-inline: pad-inline(rem(8px), rem(12px), rem(16px));
Expand Down
8 changes: 4 additions & 4 deletions src/components/input/themes/light/input.indigo.scss
Original file line number Diff line number Diff line change
Expand Up @@ -94,12 +94,12 @@ $theme: digest-schema(extend(
grid-area: 1 / 2;
}

[part*='input prefixed'] {
padding-inline-start: 0;
[part~='prefixed'] {
padding-inline-start: rem(4px);
}

[part*='input suffixed'] {
padding-inline-end: 0;
[part~='suffixed'] {
padding-inline-end: rem(4px);
}

[part='helper-text'] {
Expand Down
4 changes: 4 additions & 0 deletions src/components/select/themes/light/select.indigo.scss
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,10 @@ $theme: digest-schema($schema);
color: var-get($input-theme, 'filled-text-color');
}

igc-input::part(container) {
padding-inline: 0;
}

[part='helper-text'] {
margin-top: rem(6px);
padding-inline: pad-inline(rem(8px), rem(12px), rem(16px));
Expand Down