mirror of
https://github.com/NohamR/Code-to-PDF.git
synced 2026-05-25 04:07:17 +00:00
Fix some border issues
This commit is contained in:
@@ -88,25 +88,24 @@ pre {
|
||||
|
||||
#code-container {
|
||||
margin: 0;
|
||||
border-radius: 5px;
|
||||
max-width: 100%;
|
||||
}
|
||||
|
||||
#code-container .code-line:first-of-type .line-number {
|
||||
padding-top: 11px;
|
||||
padding-top: calc(10px + var(--border-thickness));
|
||||
}
|
||||
|
||||
#code-container .code-line:last-of-type .line-number {
|
||||
padding-bottom: 11px;
|
||||
padding-bottom: calc(10px + var(--border-thickness));
|
||||
}
|
||||
|
||||
#code-container .code-line:first-of-type #code {
|
||||
padding-top: 10px;
|
||||
padding-top: calc(10px + var(--border-thickness));
|
||||
border-top: var(--border-thickness) solid #c9d1d9;
|
||||
}
|
||||
|
||||
#code-container .code-line:last-of-type #code {
|
||||
padding-bottom: 10px;
|
||||
padding-bottom: calc(10px + var(--border-thickness));
|
||||
border-bottom: var(--border-thickness) solid #c9d1d9;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user