Skip to content

Commit

Permalink
fix(ui): better layout filters comparator
Browse files Browse the repository at this point in the history
  • Loading branch information
tchiotludo committed Jan 27, 2025
1 parent bcaa613 commit 125a277
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
10 changes: 6 additions & 4 deletions ui/src/components/filter/KestraFilter.vue
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,7 @@
c.value.includes(filter.value),
),
disabled: isOptionDisabled(filter),
'level-3': true
}"
@click="
() => !isOptionDisabled(filter) && valueCallback(filter)
Expand Down Expand Up @@ -877,15 +878,16 @@ $dashboards: 52px;
}
}
.el-select-dropdown__empty span {
padding: 0 1rem;
color: var(--ks-content-inactive);
}
& .el-date-editor.el-input__wrapper {
background-color: initial;
box-shadow: none;
}
& .el-select-dropdown__item {
padding-right: 20px;
}
& .el-select-dropdown__item .material-design-icon {
bottom: -0.15rem;
}
Expand Down
3 changes: 1 addition & 2 deletions ui/src/components/filter/components/Label.vue
Original file line number Diff line number Diff line change
Expand Up @@ -41,14 +41,13 @@
</script>

<style scoped lang="scss">
@import "../styles/filter";
.comparator {
display: inline-block;
margin: 0 0.5rem;
padding: 0.3rem 0.35rem;
background: $filters-gray-500;
background: var(--ks-background-paused);
}
</style>

0 comments on commit 125a277

Please sign in to comment.