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

Fixed Combobox small sizing #2801

Merged
merged 19 commits into from
May 29, 2024
Merged

Fixed Combobox small sizing #2801

merged 19 commits into from
May 29, 2024

Conversation

it-vegard
Copy link
Contributor

Description

Remove extra vertical padding and fixed height for combobox input, to make the small variant the same size as TextField
Ref. Slack discussion: https://nav-it.slack.com/archives/C7NE7A8UF/p1709640219782299

New heights are 32px for small and 48px for medium/default

Change summary

  • Removed vertical padding and reduced size of input on small variant of combobox.

… make the small variant the same size as TextField and so on.
Copy link

changeset-bot bot commented Mar 19, 2024

🦋 Changeset detected

Latest commit: 99eddd1

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 7 packages
Name Type
@navikt/ds-css Patch
@navikt/aksel-stylelint Patch
@navikt/aksel Patch
@navikt/ds-react Patch
@navikt/ds-tokens Patch
@navikt/ds-tailwind Patch
@navikt/aksel-icons Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

Copy link
Contributor

github-actions bot commented Mar 19, 2024

Storybook demo

Endringer til review: 5

0ffcd8697 | 82 komponenter | 183 stories

@KenAJoh
Copy link
Collaborator

KenAJoh commented Mar 20, 2024

Screenshot 2024-03-20 at 13 45 14

Ser ut som litt av øverste valg "banana" legger seg litt under "2 av 2 er valgt" alert nå

@navikt/core/css/form/combobox.css Outdated Show resolved Hide resolved
@navikt/core/css/form/combobox.css Outdated Show resolved Hide resolved
@navikt/core/css/form/combobox.css Outdated Show resolved Hide resolved
@navikt/core/css/form/combobox.css Outdated Show resolved Hide resolved
HalvorHaugan
HalvorHaugan previously approved these changes May 29, 2024
@it-vegard it-vegard merged commit 394cc94 into main May 29, 2024
2 checks passed
@it-vegard it-vegard deleted the combobox-small-sizing branch May 29, 2024 09:32
@github-actions github-actions bot mentioned this pull request May 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants