fix(web): contain nested scrolling without blocking forms

This commit is contained in:
Hyu
2026-09-01 17:29:59 +08:00
parent a87c814dae
commit 380bdfeca6
8 changed files with 15 additions and 11 deletions
@@ -136,7 +136,7 @@ export default function PluginLogs({
<div
ref={scrollRef}
onScroll={handleScroll}
className="min-h-0 flex-1 overflow-auto bg-gray-50 px-3 py-3 font-mono text-xs leading-relaxed dark:bg-gray-900/40 sm:px-6"
className="min-h-0 flex-1 overflow-auto overscroll-none bg-gray-50 px-3 py-3 font-mono text-xs leading-relaxed dark:bg-gray-900/40 sm:px-6"
>
{logs.length === 0 ? (
<div className="py-8 text-center text-sm text-gray-500 dark:text-gray-400">
@@ -109,7 +109,7 @@ export default function PluginReadme({
}, [pluginAuthor, pluginName]);
return (
<div className="w-full h-full overflow-auto">
<div className="w-full h-full overflow-auto overscroll-none">
{isLoadingReadme ? (
<div className="p-6 text-sm text-gray-500 dark:text-gray-400">
{t('plugins.loadingReadme')}