add wrapper for text input tags

This commit is contained in:
Jake McDermott
2019-04-02 11:22:27 -04:00
parent 5c855b5bd1
commit 1344706095
3 changed files with 15 additions and 6 deletions
@@ -328,3 +328,9 @@
margin: 0;
}
}
.at-InputTagContainer {
display: flex;
width: 100%;
flex-wrap: wrap;
}
@@ -11,12 +11,14 @@
</button>
</span>
<span ng-if="state.asTag" class="form-control at-Input">
<at-tag
ng-show="state._value"
icon="external"
tag="state._value"
remove-tag="state._onRemoveTag(state)"
/>
<div class="at-InputTagContainer">
<at-tag
ng-show="state._value"
icon="external"
tag="state._value"
remove-tag="state._onRemoveTag(state)"
/>
</div>
</span>
<input ng-if="!state.asTag" type="text" class="form-control at-Input"
ng-class="{ 'at-Input--rejected': state._rejected }"
@@ -8,6 +8,7 @@
flex-direction: row;
align-content: center;
min-height: @at-space-4x;
max-height: @at-space-4x;
overflow: hidden;
max-width: 200px;
margin: @at-space 0;