Skip to content

Commit

Permalink
Fix style of highlighted checkboxes while searching in preferences (#…
Browse files Browse the repository at this point in the history
…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
  • Loading branch information
eludif authored Dec 28, 2020
1 parent 78b08b5 commit c8798ef
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ Note that this project **does not** adhere to [Semantic Versioning](http://semve

### Fixed

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

### Removed

## [5.2] – 2020-12-24
Expand Down
5 changes: 4 additions & 1 deletion src/main/java/org/jabref/gui/Base.css
Original file line number Diff line number Diff line change
Expand Up @@ -427,8 +427,11 @@
}

.check-box > .box > .mark {
-fx-background-color: -fx-control-inner-background;
-fx-padding: 0.2em 0.2em 0.2em 0.2em;
}

.check-box:selected > .box > .mark {
-fx-background-color: -fx-control-inner-background;
-fx-shape: "M6.61 11.89L3.5 8.78 2.44 9.84 6.61 14l8.95-8.95L14.5 4z";
-fx-stroke-width: 5;
}
Expand Down

0 comments on commit c8798ef

Please sign in to comment.