Skip to content

Commit

Permalink
fix(chip): style margins
Browse files Browse the repository at this point in the history
  • Loading branch information
jasonwoodland committed Jun 13, 2022
1 parent 02e2dd4 commit 45832e1
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 4 deletions.
8 changes: 5 additions & 3 deletions components/interactables/Chip/Chip.vue
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
<div class="text">
{{ text }}
</div>
<x-icon size="1x" @click="$emit('delete')" />
<x-icon class="delete-icon" size="1x" @click="$emit('delete')" />
</div>
</template>

Expand Down Expand Up @@ -60,8 +60,6 @@ export default Vue.extend({
flex-shrink: 0;
flex-direction: row;
align-items: center;
margin-right: @light-spacing;
margin-bottom: @light-spacing;
padding: @xlight-spacing;
border-radius: @corner-rounding-xxlarge;
color: white;
Expand All @@ -74,5 +72,9 @@ export default Vue.extend({
&.size-small {
font-size: @mini-text-size;
}
.delete-icon {
cursor: pointer;
}
}
</style>
2 changes: 2 additions & 0 deletions components/interactables/UserPicker/UserPicker.less
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@
.chips {
display: flex;
flex-wrap: wrap;
align-items: center;
gap: @xlight-spacing;
}

.empty-results-text {
Expand Down
2 changes: 1 addition & 1 deletion components/interactables/UserPicker/UserPicker.vue
Original file line number Diff line number Diff line change
Expand Up @@ -47,4 +47,4 @@ export default Vue.extend({
})
</script>

<style lang="less" src="./UserPicker.less"></style>
<style scoped lang="less" src="./UserPicker.less"></style>

0 comments on commit 45832e1

Please sign in to comment.