Skip to content

Commit 6e1c40e

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

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

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

Lines changed: 6 additions & 1 deletion
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; // unclear why we ever had this? it breaks plain code blocks on dark theme...
319+
color: inherit;
320320
font-size: 14px;
321321
}
322322

@@ -331,7 +331,9 @@ limitations under the License.
331331

332332
.mx_EventTile_content .markdown-body code {
333333
background-color: #f8f8f8;
334+
color: #333;
334335
}
336+
335337
.mx_EventTile_copyButton {
336338
position: absolute;
337339
display: inline-block;
@@ -343,14 +345,17 @@ limitations under the License.
343345
height: 19px;
344346
background-image: url($copy-button-url);
345347
}
348+
346349
.mx_EventTile_body pre {
347350
position: relative;
348351
border: 1px solid transparent;
349352
}
353+
350354
.mx_EventTile:hover .mx_EventTile_body pre
351355
{
352356
border: 1px solid $primary-hairline-color;
353357
}
358+
354359
.mx_EventTile_body pre:hover .mx_EventTile_copyButton
355360
{
356361
visibility: visible;

0 commit comments

Comments
 (0)