summaryrefslogtreecommitdiff
path: root/packages/frontend/src/ui/universal.vue
diff options
context:
space:
mode:
authorsyuilo <4439005+syuilo@users.noreply.github.com>2025-03-30 08:59:18 +0900
committersyuilo <4439005+syuilo@users.noreply.github.com>2025-03-30 08:59:18 +0900
commit93fc2456b36d79a7d5ac755de818081bce1e7cfe (patch)
tree96a0c530f990d025d6a2717f27acab98e2a4d9a5 /packages/frontend/src/ui/universal.vue
parentperf(frontend): アニメーション無効時のパフォーマンスを向上 (diff)
downloadmisskey-93fc2456b36d79a7d5ac755de818081bce1e7cfe.tar.gz
misskey-93fc2456b36d79a7d5ac755de818081bce1e7cfe.tar.bz2
misskey-93fc2456b36d79a7d5ac755de818081bce1e7cfe.zip
refactor(frontend): refactor base styles
Diffstat (limited to 'packages/frontend/src/ui/universal.vue')
-rw-r--r--packages/frontend/src/ui/universal.vue24
1 files changed, 0 insertions, 24 deletions
diff --git a/packages/frontend/src/ui/universal.vue b/packages/frontend/src/ui/universal.vue
index 4719595729..8ae70d95ac 100644
--- a/packages/frontend/src/ui/universal.vue
+++ b/packages/frontend/src/ui/universal.vue
@@ -95,7 +95,6 @@ import { defineAsyncComponent, provide, onMounted, computed, ref, watch, useTemp
import { instanceName } from '@@/js/config.js';
import { isLink } from '@@/js/is-link.js';
import XCommon from './_common_/common.vue';
-import type { Ref } from 'vue';
import type { PageMetadata } from '@/page.js';
import XDrawerMenu from '@/ui/_common_/navbar-for-mobile.vue';
import * as os from '@/os.js';
@@ -209,29 +208,6 @@ watch(navFooter, () => {
});
</script>
-<style>
-html,
-body {
- width: 100%;
- height: 100%;
- overscroll-behavior: none;
-}
-
-body {
- /* NOTE: htmlにも overflow: clip を設定したいところだが、設定すると何故か少なくともChromeで html が main thread scrolling になりパフォーマンスが(多分)落ちる */
- overflow: clip;
-}
-
-#misskey_app {
- width: 100%;
- height: 100%;
- overflow: clip;
- position: absolute;
- top: 0;
- left: 0;
-}
-</style>
-
<style lang="scss" module>
$ui-font-size: 1em; // TODO: どこかに集約したい
$widgets-hide-threshold: 1090px;