diff --git a/res/css/_common.pcss b/res/css/_common.pcss index d120194491b..32a2610c1fe 100644 --- a/res/css/_common.pcss +++ b/res/css/_common.pcss @@ -378,6 +378,7 @@ legend { font-family: inherit !important; white-space: normal !important; line-height: inherit !important; + background-color: inherit; color: inherit; /* inherit the colour from the dark or light theme by default (but not for code blocks) */ pre, diff --git a/res/css/views/rooms/_EventTile.pcss b/res/css/views/rooms/_EventTile.pcss index 530904767bb..46f0ba900f1 100644 --- a/res/css/views/rooms/_EventTile.pcss +++ b/res/css/views/rooms/_EventTile.pcss @@ -689,6 +689,7 @@ $left-gutter: 64px; font-family: inherit !important; white-space: normal !important; line-height: inherit !important; + background-color: inherit; color: inherit; /* inherit the colour from the dark or light theme by default (but not for code blocks) */ pre,