Skip to content

Commit

Permalink
Merge pull request #2212 from therealrinku/fix/disabled-filter-state
Browse files Browse the repository at this point in the history
fix: disabled state styling for filter input
  • Loading branch information
rathboma committed May 23, 2024
2 parents 3f1c72e + 834e70b commit 3ce73df
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
3 changes: 3 additions & 0 deletions apps/studio/src/assets/styles/app/core-tabs.scss
Original file line number Diff line number Diff line change
Expand Up @@ -371,6 +371,9 @@
box-shadow: inset 0 0 0 1px rgba($theme-base, 0.25);
}
}
.disabled-input {
opacity: 0.5;
}
.clear {
position: absolute;
right: 0;
Expand Down
1 change: 1 addition & 0 deletions apps/studio/src/components/tableview/RowFilterBuilder.vue
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,7 @@
<div class="filter-wrap">
<input
class="form-control filter-value"
:class="{ 'disabled-input': isNullFilter(filter) }"
type="text"
v-model="filter.value"
:disabled="isNullFilter(filter)"
Expand Down

0 comments on commit 3ce73df

Please sign in to comment.