Skip to content

Commit 745b803

Browse files
author
Weblate
committed
Merge remote-tracking branch 'origin/develop' into develop
2 parents 6e1c40e + bd69376 commit 745b803

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

‎src/skins/vector/css/matrix-react-sdk/views/rooms/_EventTile.scss‎

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -316,7 +316,7 @@ limitations under the License.
316316
font-family: inherit ! important;
317317
white-space: normal ! important;
318318
line-height: inherit ! important;
319-
color: inherit;
319+
color: inherit; // inherit the colour from the dark or light theme by default (but not for code blocks)
320320
font-size: 14px;
321321
}
322322

@@ -330,6 +330,7 @@ limitations under the License.
330330
}
331331

332332
.mx_EventTile_content .markdown-body code {
333+
// deliberate constants as we're behind an invert filter
333334
background-color: #f8f8f8;
334335
color: #333;
335336
}
@@ -353,7 +354,7 @@ limitations under the License.
353354

354355
.mx_EventTile:hover .mx_EventTile_body pre
355356
{
356-
border: 1px solid $primary-hairline-color;
357+
border: 1px solid #e5e5e5; // deliberate constant as we're behind an invert filter
357358
}
358359

359360
.mx_EventTile_body pre:hover .mx_EventTile_copyButton

0 commit comments

Comments
 (0)