CSS inconsistencies with inline translation from text selection
Opened this issue ยท 0 comments
tobozo commented
Hi and thanks for that great project ๐
Problem:
In certain conditions (e.g. with general directive body { color: #fff }
), the translated text may appear as white text on white background.
Possible cause:
The .translation
area created to hold the translated text has a css directive font-color: inherit
but the parent element does not specify any font-color
directive.
As a result the translation area inherits its font-color from outside the web-extension context.
[edit] Actually the parent element #x-bergamot-translation-popup
specifies a css background-color
value whereas it should also inherit.