CSS highlight problem for linenos=table
bebound opened this issue · comments
Hang commented
The table width is not 100% when using linenos=table.
Here is the markdown file. (linenos=inline works as expected)
+++
title = "test"
+++
{{< highlight python3 "linenos=table, linenostart=1" >}}
def X1():
return "x1"
{{< / highlight >}}
{{< highlight python3 "linenos=inline, linenostart=1" >}}
def X1():
return "x1"
{{< / highlight >}}
Ritchie Zhu commented
@bebound I tested with your code, there's some style overrides with my content.scss and table.scss, I will fix it later.
Hang commented
There is also a CSS problem only occur on Safari(macOS and iOS).
The code block has space on the right side.
url
Ritchie Zhu commented
@bebound Safari problem is caused by this CSS property.
body {
font-feature-settings: "liga" on;
}
I will fix the issue tonight.