mirror of
https://github.com/element-hq/element-web
synced 2024-11-28 20:38:55 +03:00
deliberately de-theme pre tags
This commit is contained in:
parent
b45108d80d
commit
bd693768cc
1 changed files with 3 additions and 2 deletions
|
@ -316,7 +316,7 @@ limitations under the License.
|
|||
font-family: inherit ! important;
|
||||
white-space: normal ! important;
|
||||
line-height: inherit ! important;
|
||||
color: inherit;
|
||||
color: inherit; // inherit the colour from the dark or light theme by default (but not for code blocks)
|
||||
font-size: 14px;
|
||||
}
|
||||
|
||||
|
@ -330,6 +330,7 @@ limitations under the License.
|
|||
}
|
||||
|
||||
.mx_EventTile_content .markdown-body code {
|
||||
// deliberate constants as we're behind an invert filter
|
||||
background-color: #f8f8f8;
|
||||
color: #333;
|
||||
}
|
||||
|
@ -353,7 +354,7 @@ limitations under the License.
|
|||
|
||||
.mx_EventTile:hover .mx_EventTile_body pre
|
||||
{
|
||||
border: 1px solid $primary-hairline-color;
|
||||
border: 1px solid #e5e5e5; // deliberate constant as we're behind an invert filter
|
||||
}
|
||||
|
||||
.mx_EventTile_body pre:hover .mx_EventTile_copyButton
|
||||
|
|
Loading…
Reference in a new issue