aboutsummaryrefslogtreecommitdiff
path: root/src/components/settings_modal
diff options
context:
space:
mode:
Diffstat (limited to 'src/components/settings_modal')
-rw-r--r--src/components/settings_modal/settings_modal.vue4
-rw-r--r--src/components/settings_modal/tabs/theme_tab/theme_tab.vue6
2 files changed, 5 insertions, 5 deletions
diff --git a/src/components/settings_modal/settings_modal.vue b/src/components/settings_modal/settings_modal.vue
index 28f85423..18dd3d7a 100644
--- a/src/components/settings_modal/settings_modal.vue
+++ b/src/components/settings_modal/settings_modal.vue
@@ -113,9 +113,9 @@
<Checkbox :modelValue="!!expertLevel" @update:modelValue="expertLevel = Number($event)">
{{ $t("settings.expert_mode") }}
</Checkbox>
- <portal-target
+ <span
class="extra-content"
- name="unscrolled-content"
+ id="unscrolled-content"
/>
</div>
</div>
diff --git a/src/components/settings_modal/tabs/theme_tab/theme_tab.vue b/src/components/settings_modal/tabs/theme_tab/theme_tab.vue
index 9cdd229a..cf049a70 100644
--- a/src/components/settings_modal/tabs/theme_tab/theme_tab.vue
+++ b/src/components/settings_modal/tabs/theme_tab/theme_tab.vue
@@ -1018,9 +1018,9 @@
</tab-switcher>
</keep-alive>
- <portal
+ <teleport
v-if="isActive"
- to="unscrolled-content"
+ to="#unscrolled-content"
>
<div class="apply-container">
<button
@@ -1037,7 +1037,7 @@
{{ $t('settings.style.switcher.reset') }}
</button>
</div>
- </portal>
+ </teleport>
</div>
</template>