diff --git a/src/SEQTA.ts b/src/SEQTA.ts index e7e2adca..d899fd7e 100644 --- a/src/SEQTA.ts +++ b/src/SEQTA.ts @@ -29,6 +29,7 @@ import { onError } from './seqta/utils/onError' import stringToHTML from './seqta/utils/stringToHTML' import { updateAllColors } from './seqta/ui/colors/Manager' import { updateBgDurations } from './seqta/ui/Animation' +import { SettingsResizer } from "./seqta/ui/SettingsResizer"; declare global { interface Window { @@ -890,11 +891,13 @@ function addExtensionSettings() { extensionIframe.setAttribute('allowTransparency', 'true') extensionIframe.setAttribute('excludeDarkCheck', 'true') extensionIframe.style.width = '384px' - extensionIframe.style.height = '600px' + extensionIframe.style.height = '100%' extensionIframe.style.border = 'none' extensionPopup.appendChild(extensionIframe) const container = document.getElementById('container') + + new SettingsResizer(); const closeExtensionPopup = () => { const ExtensionIframe = document.getElementById('ExtensionIframe') as HTMLIFrameElement diff --git a/src/interface/SettingsPage.tsx b/src/interface/SettingsPage.tsx index 9f5a9dae..8e33d748 100644 --- a/src/interface/SettingsPage.tsx +++ b/src/interface/SettingsPage.tsx @@ -30,7 +30,7 @@ const SettingsPage = ({ standalone }: SettingsPage) => { ]; return ( -