Skip to content

Commit bb58d45

Browse files
committed
scrollbar
1 parent db6dc61 commit bb58d45

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

src/tailwind.css

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,16 @@ Add additional Tailwind styles to this file, for example with @layer:
3232
https://tailwindcss.com/docs/adding-custom-styles#using-css-and-layer
3333
*/
3434

35+
/* code */
36+
.expressive-code pre {
37+
max-height: 80vh !important;
38+
overflow-y: auto !important;
39+
40+
&::-webkit-scrollbar-corner {
41+
background: transparent;
42+
}
43+
}
44+
3545
/* Hero style */
3646
.hero {
3747
min-height: 100vh;

0 commit comments

Comments
 (0)