[2.x] Fix delete button visibility in search filters #51100
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
This PR fixes a UI bug in the Variable List page where the "Delete" (remove filter) button for search filters was not fully visible. The issue was caused by legacy table cell (
td) settings in the template, which became problematic after upgrading the Flask-AppBuilder package. The button was partially hidden, with only its right border visible, making it difficult for users to remove filters.What was changed:
variable_list.htmlto ensure the remove filter button is always fully visible and accessible in the Variable List filter UI.Related Issues
closes: #50296
Related PRs
How to reproduce
What you think should happen instead
The delete search filter button should be fully visible and easily clickable.
Additional context
Screenshots
Before:

After:

Please review and let me know if further adjustments are needed.