diff --git a/app_crates/app_components/src/tree_view.rs b/app_crates/app_components/src/tree_view.rs index ad089cd..f556301 100644 --- a/app_crates/app_components/src/tree_view.rs +++ b/app_crates/app_components/src/tree_view.rs @@ -127,7 +127,7 @@ pub fn FileRendererHighlight( class="peer" checked=checked on:change=move |_| { - const HIGHLIGHT_CLASS: &str = "h-full max-h-[370px] overflow-y-auto overscroll-y-contain whitespace-pre-wrap p-4 [&_span]:text-xs rounded-md bg-muted"; + const HIGHLIGHT_CLASS: &str = "h-full max-h-[370px] overflow-y-auto whitespace-pre-wrap p-4 [&_span]:text-xs rounded-md bg-muted"; let highlighted_content = highlight_code(&content, language, Some(name)); let html = format!( "

{name}

{highlighted_content}
", diff --git a/crates/_markdown_crate/src/leptos/components/syntect_highlighter_code.rs b/crates/_markdown_crate/src/leptos/components/syntect_highlighter_code.rs index 05f56f7..ffbea5d 100644 --- a/crates/_markdown_crate/src/leptos/components/syntect_highlighter_code.rs +++ b/crates/_markdown_crate/src/leptos/components/syntect_highlighter_code.rs @@ -13,7 +13,7 @@ pub fn SyntectHighlighterCode( ) -> impl IntoView { let merged_class = tw_merge!( if show_scrollbar_on_hover { "scrollbar__on_hover" } else { "" }, - "h-full max-h-[370px] overflow-y-auto overscroll-y-contain", + "h-full max-h-[370px] overflow-y-auto", "whitespace-pre-wrap p-4 [&_span]:text-xs rounded-md bg-muted", class );