Skip to content

Commit

Permalink
🐛 fix(input-group): adjust tags (#1047)
Browse files Browse the repository at this point in the history
* Create PR for #700

* chore(): set tag size to default in input-group example

* chore(): set tag icon width to unset

* chore(): update base images

* chore(): improve changeset message

---------

Co-authored-by: mladenplaninicic <[email protected]>
Co-authored-by: mladenplaninicic <[email protected]>
  • Loading branch information
3 people authored Oct 18, 2023
1 parent a2d6b26 commit 635c59b
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 3 deletions.
5 changes: 5 additions & 0 deletions .changeset/orange-books-happen.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@baloise/design-system-components': patch
---

Resize the tags within the input group to align with those of bal-select.
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,10 @@
.bal-icon
min-width: 3rem

.bal-tag
.bal-icon
min-width: unset

& > *:first-child.bal-select .bal-select__control
padding-left: 0.625rem

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,9 @@ export const Basic = args => ({
</bal-input-group>
<bal-input-group v-bind="args" class="mb-normal">
<bal-tag closable :disabled="args.disabled" size="small">Tag</bal-tag>
<bal-tag closable :disabled="args.disabled" size="small">Tag</bal-tag>
<bal-tag closable :disabled="args.disabled" size="small">Tag</bal-tag>
<bal-tag closable :disabled="args.disabled">Tag</bal-tag>
<bal-tag closable :disabled="args.disabled">Tag</bal-tag>
<bal-tag closable :disabled="args.disabled">Tag</bal-tag>
<bal-input placeholder="Enter text here" v-model="args.value" :disabled="args.disabled" :invalid="args.invalid"></bal-input>
<bal-icon name="date" :class="args.disabled ? '' : is-clickable"></bal-icon>
</bal-input-group>
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 635c59b

Please sign in to comment.