mirror of
https://github.com/open-webui/open-webui.git
synced 2026-11-15 09:31:21 +00:00
refac
This commit is contained in:
parent
b96993c9b7
commit
1e8a21117e
2 changed files with 4 additions and 2 deletions
|
|
@ -182,7 +182,9 @@
|
|||
$: if (activeTabId && panelTarget) {
|
||||
const id = activeTabId;
|
||||
void tick().then(() =>
|
||||
document.getElementById(domId(id))?.scrollIntoView({ block: 'nearest', inline: 'nearest' })
|
||||
document
|
||||
.getElementById(domId(id))
|
||||
?.parentElement?.scrollIntoView({ block: 'nearest', inline: 'nearest' })
|
||||
);
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -429,7 +429,7 @@
|
|||
bind:this={iframe}
|
||||
src={frameUrl}
|
||||
title={$i18n.t('Browser')}
|
||||
class="block h-full w-full border-0 bg-white dark:bg-gray-900"
|
||||
class="block h-full w-full border-0 bg-white"
|
||||
sandbox="allow-scripts{!session && ($settings?.terminalPreviewAllowSameOrigin ?? false)
|
||||
? ' allow-same-origin'
|
||||
: ''} allow-forms allow-popups allow-modals allow-downloads"
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue