PDF Viewer contents text not visible with browser dark mode


When dark mode is enabled in the web browser (tested firefox & edge), text in the contents menu, and the zoom box of the pdf viewer is not visible (white on white).
Server is version 11.0.9, installed on Docker using official image.

Below screenshot shows dark mode:

Below screenshot shows light mdoe: