summaryrefslogtreecommitdiff
path: root/packages/frontend/src/components/MkSparkle.vue
diff options
context:
space:
mode:
Diffstat (limited to 'packages/frontend/src/components/MkSparkle.vue')
-rw-r--r--packages/frontend/src/components/MkSparkle.vue4
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/frontend/src/components/MkSparkle.vue b/packages/frontend/src/components/MkSparkle.vue
index ba1493aa71..51d70822d3 100644
--- a/packages/frontend/src/components/MkSparkle.vue
+++ b/packages/frontend/src/components/MkSparkle.vue
@@ -32,7 +32,8 @@
</path>
</svg>
-->
- <svg v-for="particle in particles" :key="particle.id" :width="width" :height="height" :viewBox="`0 0 ${width} ${height}`" xmlns="http://www.w3.org/2000/svg" style="position: absolute; top: -32px; left: -32px;">
+ <!-- MFMで上位レイヤーに表示されるため、リンクをクリックできるようにstyleにpointer-events: none;を付与。 -->
+ <svg v-for="particle in particles" :key="particle.id" :width="width" :height="height" :viewBox="`0 0 ${width} ${height}`" xmlns="http://www.w3.org/2000/svg" style="position: absolute; top: -32px; left: -32px; pointer-events: none;">
<path
style="transform-origin: center; transform-box: fill-box;"
:transform="`translate(${particle.x} ${particle.y})`"
@@ -115,6 +116,5 @@ onUnmounted(() => {
.root {
position: relative;
display: inline-block;
- pointer-events: none;
}
</style>