mirror of
https://github.com/codex-team/codex.docs.git
synced 2025-07-25 16:19:44 +02:00
Implement diff highlight (#85)
* diff highlight * update docs and function renaming * fix * simplify code * lint code * lint code * rename classes * solution through split func * update code style * remove line numbers testing * Update main.css
This commit is contained in:
parent
69d036ab5c
commit
3623aade0b
8 changed files with 65 additions and 11 deletions
|
@ -193,14 +193,24 @@
|
|||
font-family: var(--font-mono);
|
||||
line-height: 1.7em;
|
||||
font-size: 13px;
|
||||
overflow-x: auto;
|
||||
margin: 15px 0;
|
||||
|
||||
&__content {
|
||||
display: inline-block !important;
|
||||
white-space: pre;
|
||||
word-wrap: normal;
|
||||
overflow-x: auto;
|
||||
background: transparent !important;
|
||||
padding: 15px !important;
|
||||
color: #41314e !important;
|
||||
min-width: 100%;
|
||||
box-sizing: border-box;
|
||||
|
||||
.diff {
|
||||
margin: 0 -15px;
|
||||
padding-left: 15px;
|
||||
padding-right: 15px;
|
||||
}
|
||||
}
|
||||
|
||||
.hljs-name,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue