Skip to content

Commit

Permalink
fix: Update size of select components in filters dropdown (#4747)
Browse files Browse the repository at this point in the history
* fix: Update size of select components in filters dropdown

* fix: Update select tags styling
  • Loading branch information
alexgrozav authored Nov 29, 2022
1 parent 3d15c52 commit d6d442d
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 9 deletions.
9 changes: 4 additions & 5 deletions packages/design-system/src/css/select.scss
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,9 @@

.el-select__tags + .el-input {
input {
box-sizing: content-box;
padding: 0;
text-indent: var(--spacing-xs);
width: calc(100% - 2px);
box-sizing: border-box;
padding: 0 0 0 var(--spacing-2xs);
text-indent: 0;
}
}

Expand Down Expand Up @@ -92,7 +91,7 @@
border: none;
outline: none;
padding: 0;
margin-left: 15px;
margin-left: var(--spacing-2xs);
color: var.$select-multiple-input-color;
font-size: var.$select-font-size;
appearance: none;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
:users="ownedByUsers"
:currentUserId="usersStore.currentUser.id"
:value="value.ownedBy"
size="small"
size="medium"
@input="setKeyValue('ownedBy', $event)"
/>
</enterprise-edition>
Expand All @@ -54,7 +54,7 @@
:users="sharedWithUsers"
:currentUserId="usersStore.currentUser.id"
:value="value.sharedWith"
size="small"
size="medium"
@input="setKeyValue('sharedWith', $event)"
/>
</enterprise-edition>
Expand Down
2 changes: 1 addition & 1 deletion packages/editor-ui/src/views/CredentialsView.vue
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
/>
<n8n-select
:value="filters.type"
size="small"
size="medium"
multiple
filterable
ref="typeInput"
Expand Down
2 changes: 1 addition & 1 deletion packages/editor-ui/src/views/WorkflowsView.vue
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@
color="text-base"
class="mb-3xs"
/>
<n8n-select :value="filters.status" @input="setKeyValue('status', $event)" size="small">
<n8n-select :value="filters.status" @input="setKeyValue('status', $event)" size="medium">
<n8n-option
v-for="option in statusFilterOptions"
:key="option.label"
Expand Down

0 comments on commit d6d442d

Please sign in to comment.