Skip to content

Commit

Permalink
feat(BaseInput): input should be resizable in width
Browse files Browse the repository at this point in the history
  • Loading branch information
YossiSaadi committed Apr 18, 2024
1 parent e3f16e6 commit 7ea4452
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion packages/core/src/components/BaseInput/BaseInput.module.scss
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
position: relative;
display: flex;
align-items: center;
flex-shrink: 0;
gap: var(--spacing-small);
padding-block: var(--spacing-xs);
padding-inline: var(--spacing-medium) var(--spacing-xs);
Expand All @@ -22,15 +21,18 @@
transition: border-color var(--motion-productive-medium) ease-in;

&.small {
min-height: 32px;
height: 32px;
@include vibe-text(text2, normal);
}

&.medium {
min-height: 40px;
height: 40px;
}

&.large {
min-height: 48px;
height: 48px;
padding-block: var(--spacing-small);
}
Expand Down
2 changes: 1 addition & 1 deletion packages/core/src/components/Search/Search.module.scss
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@

.icon {
opacity: 1;
color: inherit;
color: var(--icon-color);
transition: opacity var(--motion-productive-short);

&.empty {
Expand Down

0 comments on commit 7ea4452

Please sign in to comment.