Skip to content

bug: added flex grow to autocomplete input wrapper#4230

Merged
m0ksem merged 1 commit into
epicmaxco:developfrom
ahmadJT:bug/va-select-autocomplete-grow
May 5, 2024
Merged

bug: added flex grow to autocomplete input wrapper#4230
m0ksem merged 1 commit into
epicmaxco:developfrom
ahmadJT:bug/va-select-autocomplete-grow

Conversation

@ahmadJT

@ahmadJT ahmadJT commented Apr 17, 2024

Copy link
Copy Markdown
Contributor

Description

  • added flex grow to autocomplete input wrapper

Screenshot

Screenshot 2024-04-17 at 06 19 04

Issue

#4046

Markup:

Details
<style lang="scss">
@import '../../variables';

.va-select-content {
  display: flex;
  flex-wrap: wrap;
  flex: 1;

  &__autocomplete {
    flex: 1 1;
    margin-left: 0.25rem;

    &:first-child {
      margin-left: 0;
    }
  }

  &__placeholder {
    overflow: hidden !important;
    flex: 1;
    line-height: normal;
    color: var(--va-input-placeholder-text-color);
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
  }

  &__separator {
    white-space: pre;
  }

  &__state-icon {
    margin-left: var(--va-select-state-icon-margin-left);
  }
}
</style>

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Improvement/refactoring (non-breaking change that doesn't add any feature but make things better)

@m0ksem m0ksem self-requested a review April 26, 2024 14:28
@m0ksem m0ksem merged commit 9e40795 into epicmaxco:develop May 5, 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.

2 participants