Skip to content

Commit

Permalink
fix(css): consistent rendering of check output inside ins/del
Browse files Browse the repository at this point in the history
Fixes #11817
  • Loading branch information
nijel committed Jun 10, 2024
1 parent af9b426 commit ca5a0c1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions weblate/static/style-bootstrap.css
Original file line number Diff line number Diff line change
Expand Up @@ -311,12 +311,14 @@ textarea#id_check_flags {
}

ins,
ins .hlcheck,
span.replacement {
background-color: lightgreen;
color: #2a3744;
}

del,
del .hlcheck,
span.replaced {
color: #2a3744;
background-color: #fc7979;
Expand Down
2 changes: 2 additions & 0 deletions weblate/static/style-dark.css
Original file line number Diff line number Diff line change
Expand Up @@ -2158,11 +2158,13 @@ ul.legend li {
color: rgb(213, 208, 199);
}
ins,
ins .hlcheck,
span.replacement {
background-color: rgb(44, 122, 19);
color: rgb(217, 211, 204);
}
del,
del .hlcheck,
span.replaced {
color: rgb(217, 211, 204);
background-color: rgb(143, 3, 3);
Expand Down

0 comments on commit ca5a0c1

Please sign in to comment.