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 11<template >
2- <div class =" sticky top-0 text-right z-1" >
2+ <div class =" sticky top-0 pt-12 text-right z-1" >
33 <button
44 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"
55 :class =" {
Original file line number Diff line number Diff line change @@ -197,6 +197,11 @@ export default {
197197 counter-reset : line- numbers;
198198
199199 --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+ }
200205 @apply relative ;
201206 p {
202207 padding-left : calc (var (--line-number-gutter-width ) - 10px );
You can’t perform that action at this time.
0 commit comments