summaryrefslogtreecommitdiff
path: root/packages/frontend/src/components/global/MkStickyContainer.vue
diff options
context:
space:
mode:
authorsyuilo <Syuilotan@yahoo.co.jp>2023-05-31 18:03:43 +0900
committersyuilo <Syuilotan@yahoo.co.jp>2023-05-31 18:03:43 +0900
commit6addf9002cbdcd09e2deb66f0278946db990f014 (patch)
tree874421ae12f08839e6609c36ca7c1238320c2c24 /packages/frontend/src/components/global/MkStickyContainer.vue
parentfix: Firefoxにおける絵文字ピッカーのTabキーフォーカス問... (diff)
downloadmisskey-6addf9002cbdcd09e2deb66f0278946db990f014.tar.gz
misskey-6addf9002cbdcd09e2deb66f0278946db990f014.tar.bz2
misskey-6addf9002cbdcd09e2deb66f0278946db990f014.zip
tweak ui
Diffstat (limited to 'packages/frontend/src/components/global/MkStickyContainer.vue')
-rw-r--r--packages/frontend/src/components/global/MkStickyContainer.vue9
1 files changed, 5 insertions, 4 deletions
diff --git a/packages/frontend/src/components/global/MkStickyContainer.vue b/packages/frontend/src/components/global/MkStickyContainer.vue
index 44c02088da..e5dba54b4e 100644
--- a/packages/frontend/src/components/global/MkStickyContainer.vue
+++ b/packages/frontend/src/components/global/MkStickyContainer.vue
@@ -14,6 +14,7 @@
<script lang="ts" setup>
import { onMounted, onUnmounted, provide, inject, Ref, ref, watch } from 'vue';
+import { $$ } from 'vue/macros';
import { CURRENT_STICKY_BOTTOM, CURRENT_STICKY_TOP } from '@/const';
const rootEl = $shallowRef<HTMLElement>();
@@ -83,8 +84,8 @@ onMounted(() => {
onUnmounted(() => {
observer.disconnect();
});
-</script>
-
-<style lang="scss" module>
-</style>
+defineExpose({
+ rootEl: $$(rootEl),
+});
+</script>