File tree Expand file tree Collapse file tree 2 files changed +6
-1
lines changed Expand file tree Collapse file tree 2 files changed +6
-1
lines changed Original file line number Diff line number Diff line change 1
1
<template >
2
- <div class =" sticky top-0 text-right z-1" >
2
+ <div class =" sticky top-0 pt-12 text-right z-1" >
3
3
<button
4
4
class =" absolute top-0 right-0 p-2 text-gray-800 transition-all transform rounded-full shadow dark:text-gray-50 z-1 hover:shadow-lg hover:scale-110 hover:rotate-12"
5
5
:class =" {
Original file line number Diff line number Diff line change @@ -197,6 +197,11 @@ export default {
197
197
counter-reset : line- numbers;
198
198
199
199
--line-number-gutter-width : calc (var (--max-line-number-characher ) + 10px );
200
+ & ::before {
201
+ content : ' ' ;
202
+ width : var (--line-number-gutter-width );
203
+ @apply bg-gray-200 dark :bg- gray- 700 inline-block left- 0 top- 0 bottom- 0 absolute text- sm;
204
+ }
200
205
@apply relative ;
201
206
p {
202
207
padding-left : calc (var (--line-number-gutter-width ) - 10px );
You can’t perform that action at this time.
0 commit comments