diff --git a/client/src/document/index.scss b/client/src/document/index.scss index 0f574719cff2..f7af984e23ce 100644 --- a/client/src/document/index.scss +++ b/client/src/document/index.scss @@ -83,9 +83,12 @@ } img { - background: var(--background-primary); + /* In dark mode, required for images with black text on transparent background. */ + background: #fff; border: 1px solid var(--border-primary) !important; border-radius: var(--elem-radius); + /* Required for alt texts. */ + color: #1b1b1b; display: inline-block; display: flex; height: auto;