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(combobox): update combobox height to follow design spec #7558

Merged
merged 1 commit into from
Aug 23, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@
@apply text-n2;
--calcite-combobox-item-spacing-unit-l: theme("spacing.2");
--calcite-combobox-item-spacing-unit-s: theme("spacing.1");
--calcite-combobox-input-height: theme("spacing.6");
--calcite-combobox-input-height: theme("spacing.4");
--calcite-internal-combobox-input-margin-block: calc(theme("spacing.1") - theme("borderWidth.DEFAULT"));

.x-button {
margin-inline-end: theme("spacing.2");
Expand All @@ -28,7 +29,8 @@
@apply text-n1;
--calcite-combobox-item-spacing-unit-l: theme("spacing.3");
--calcite-combobox-item-spacing-unit-s: theme("spacing.2");
--calcite-combobox-input-height: theme("spacing.8");
--calcite-combobox-input-height: theme("spacing.4");
--calcite-internal-combobox-input-margin-block: calc(theme("spacing.2") - theme("borderWidth.DEFAULT"));

.x-button {
margin-inline-end: theme("spacing.3");
Expand All @@ -39,7 +41,8 @@
@apply text-0;
--calcite-combobox-item-spacing-unit-l: theme("spacing.4");
--calcite-combobox-item-spacing-unit-s: theme("spacing.3");
--calcite-combobox-input-height: theme("spacing.11");
--calcite-combobox-input-height: theme("spacing.6");
--calcite-internal-combobox-input-margin-block: calc(theme("spacing[2.5]") - theme("borderWidth.DEFAULT"));

.x-button {
margin-inline-end: theme("spacing.4");
Expand Down Expand Up @@ -101,7 +104,8 @@
}

.input--single {
@apply mb-0 mt-0 p-0;
@apply p-0;
margin-block: var(--calcite-internal-combobox-input-margin-block);
}

.wrapper--active .input-single {
Expand All @@ -121,7 +125,7 @@
}

.input-wrap {
@apply flex flex-grow;
@apply flex flex-grow items-center;
}

.input-wrap--single {
Expand Down