We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 41d3d76 commit 7da6ef8Copy full SHA for 7da6ef8
2 files changed
src/components/Viewers/SyntaxViewer.tsx
@@ -57,7 +57,7 @@ const SyntaxViewer: React.FC = () => {
57
fontFamily: syntaxCustomFont ? 'syntaxFont' : '',
58
fontSize: syntaxFontSize,
59
lineHeight: '1.2em',
60
- marginLeft: syntaxShowLineNumbers ? '3rem' : 0,
+ marginLeft: syntaxShowLineNumbers ? '3.1em' : 0,
61
},
62
}}
63
customStyle={{
src/theme.tsx
@@ -81,7 +81,7 @@ const useTheme = () => {
81
'.textLineNumber::before': {
82
position: 'absolute',
83
marginLeft: '-4em',
84
- width: '3rem',
+ width: '3.7em',
85
content: 'counter(linenumber)',
86
fontStyle: 'italic',
87
textAlign: 'right',
0 commit comments