Skip to content

Commit ec7e080

Browse files
authored
ui: expected status codes options: distinguish states visually (#225)
1 parent 22f3776 commit ec7e080

File tree

2 files changed

+17
-0
lines changed

2 files changed

+17
-0
lines changed

docs/docs/changelog.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,13 @@
22

33
Prior to version 2.0.0, the changelogs were maintained **only in the** [**GitHub repository**](https://github.com/kuvasz-uptime/kuvasz/releases){ target="_blank" }.
44

5+
## To be released { id="to-be-released" data-toc-label="To be released" }
6+
7+
### Fixes
8+
9+
- Clear the expected status code select's search value after selecting an option (by [WasixXD](https://github.com/WasixXD){target="_blank" })
10+
- Fix the background color of the active option inside the expected status codes select
11+
512
## 2.5.1 <small>2025-08-23</small> { id="2.5.1" data-toc-label="2.5.1" }
613

714
### Fixes

ui/src/main/resources/public/css/kuvasz.css

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,3 +13,13 @@ div.ts-wrapper.form-select.plugin-clear_button > div.ts-control > div.clear-butt
1313
.ts-wrapper .ts-control > div.item {
1414
border-radius: 6px; /* Match the border-radius of the parent input */
1515
}
16+
17+
/* TomSelect active option background - dark */
18+
[data-bs-theme=dark] .ts-wrapper .ts-dropdown .option.active {
19+
background-color: var(--tblr-bg-forms);
20+
}
21+
22+
/* TomSelect active option background - light */
23+
[data-bs-theme=light] .ts-wrapper .ts-dropdown .option.active {
24+
background-color: var(--tblr-gray-100);
25+
}

0 commit comments

Comments
 (0)