Skip to content

Commit c8798ef

Browse files
authored
Fix style of highlighted checkboxes while searching in preferences (#7258)
* Fix style of checkboxes while searching in preferences (#7226) Previously, highlighted unchecked CheckBoxes seemed to checked (visual bug) * Add change to CHANGELOG.md * fix markdown-lint issue with CHANGELOG.md
1 parent 78b08b5 commit c8798ef

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,8 @@ Note that this project **does not** adhere to [Semantic Versioning](http://semve
1717

1818
### Fixed
1919

20+
- We fixed an issue with the style of highlighted check boxes while searching in preferences. [#7226](https://github.com/JabRef/jabref/issues/7226)
21+
2022
### Removed
2123

2224
## [5.2] – 2020-12-24

src/main/java/org/jabref/gui/Base.css

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -427,8 +427,11 @@
427427
}
428428

429429
.check-box > .box > .mark {
430-
-fx-background-color: -fx-control-inner-background;
431430
-fx-padding: 0.2em 0.2em 0.2em 0.2em;
431+
}
432+
433+
.check-box:selected > .box > .mark {
434+
-fx-background-color: -fx-control-inner-background;
432435
-fx-shape: "M6.61 11.89L3.5 8.78 2.44 9.84 6.61 14l8.95-8.95L14.5 4z";
433436
-fx-stroke-width: 5;
434437
}

0 commit comments

Comments
 (0)