8000 update · bootstrap-vue/bootstrap-vue@c27b13a · GitHub
[go: up one dir, main page]

Skip to content

Commit c27b13a

Browse files
committed
update
1 parent c28d622 commit c27b13a

File tree

3 files changed

+12
-4
lines changed

3 files changed

+12
-4
lines changed

src/components/form-tags/_form-tags.scss

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,12 @@
11
.b-form-tags {
2+
> ul {
3+
margin-top: -0.25rem;
4+
5+
> li {
6+
margin-top: 0.25rem;
7+
}
8+
}
9+
210
&.focus {
311
color: $input-focus-color;
412
background-color: $input-focus-bg;
@@ -44,6 +52,7 @@
4452
font-size: 125%;
4553
line-height: 1;
4654
float: none;
55+
margin-left: 0.25rem;
4756
}
4857
}
4958

src/components/form-tags/form-tag.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ export const BFormTag = /*#__PURE__*/ Vue.extend({
5454
let $remove = h()
5555
if (!this.disabled) {
5656
$remove = h(BButtonClose, {
57-
staticClass: 'b-form-tag-remove ml-1',
57+
staticClass: 'b-form-tag-remove',
5858
props: { ariaLabel: this.removeLabel },
5959
attrs: {
6060
'aria-controls': tagId,

src/components/form-tags/form-tags.js

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -530,7 +530,6 @@ export const BFormTags = /*#__PURE__*/ Vue.extend({
530530
BFormTag,
531531
{
532532
key: `li-tag__${tag}`,
533-
staticClass: 'mt-auto',
534533
class: tagClass,
535534
props: {
536535
// `BFormTag` will auto generate an ID
@@ -612,7 +611,7 @@ export const BFormTags = /*#__PURE__*/ Vue.extend({
612611
'li',
613612
{
614613
key: '__li-input__',
615-
staticClass: 'flex-grow-1 mt-1',
614+
staticClass: 'flex-grow-1',
616615
attrs: {
617616
role: 'none',
618617
'aria-live': 'off',
@@ -627,7 +626,7 @@ export const BFormTags = /*#__PURE__*/ Vue.extend({
627626
'ul',
628627
{
629628
key: '_tags_list_',
630-
staticClass: 'list-unstyled mt-n1 mb-0 d-flex flex-wrap align-items-center',
629+
staticClass: 'list-unstyled mb-0 d-flex flex-wrap align-items-center',
631630
attrs: { id: tagListId }
632631
},
633632
// `concat()` is faster than array spread when args are known to be arrays

0 commit comments

Comments
 (0)
0