Skip to content

Commit 20b639d

Browse files
committed
fix hover
1 parent 7ba5039 commit 20b639d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

layouts/_default/_markup/render-codeblock.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
data-pagefind-ignore
33
x-data
44
x-ref="root"
5-
class="mt-2 mb-4 flex w-full scroll-mt-2 flex-col items-start gap-4 rounded bg-gray-50 p-2 outline outline-1 outline-offset-[-1px] outline-gray-200 dark:bg-gray-900 dark:outline-gray-800"
5+
class="group mt-2 mb-4 flex w-full scroll-mt-2 flex-col items-start gap-4 rounded bg-gray-50 p-2 outline outline-1 outline-offset-[-1px] outline-gray-200 dark:bg-gray-900 dark:outline-gray-800"
66
>
77
{{ with .Attributes.title }}
88
<div class="flex w-full items-center gap-2">
@@ -15,7 +15,7 @@
1515
</div>
1616
</div>
1717
{{ end }}
18-
<div class="group relative w-full">
18+
<div class="relative w-full">
1919
{{ $lang := .Type | default "text" }}
2020
{{ $result := transform.Highlight .Inner
2121
$lang .Options
@@ -64,7 +64,7 @@
6464
<button
6565
@click="collapse = true"
6666
x-show="!collapse"
67-
class="chip mx-auto mt-4 flex items-center"
67+
class="bg-blue mx-auto mt-4 flex items-center rounded-full px-2 text-sm text-white dark:bg-blue-500"
6868
>
6969
<span>Hide</span>
7070
<span class="icon-svg"

0 commit comments

Comments
 (0)