🐛 Fixed #140, add selection backgroud make it show clear.

This commit is contained in:
elkan1788
2025-01-19 19:05:34 +08:00
parent ba5ae7c295
commit e9297ac28b
4 changed files with 16 additions and 6 deletions

View File

@@ -1,6 +1,7 @@
::selection {
background: $selection-bg;
color: $selection-color;
background: var(--selection-bg);
color: var(--selection-color);
}
html, body {

View File

@@ -3,6 +3,7 @@
background: var(--highlight-background);
margin-bottom: 26px;
line-height: 1.185;
//TODO Need fixed the copy button show position.
div:first-child {
@@ -12,14 +13,16 @@
pre {
position: relative;
overflow-x: auto;
padding: 4px;
padding: 6px;
overflow-wrap: break-word;
line-break: anywhere;
}
table tbody tr {
/* table tbody tr {
//TODO Fixed the too long code line over
// layout background color.
background: #272822;
}
}*/
/* pre > code span {
white-space: break-spaces;