summaryrefslogtreecommitdiff
path: root/packages
diff options
context:
space:
mode:
authorsyuilo <Syuilotan@yahoo.co.jp>2023-07-03 14:35:10 +0900
committersyuilo <Syuilotan@yahoo.co.jp>2023-07-03 14:35:10 +0900
commit84d3a066372bfed8bd1d4ac5a469a84075dea954 (patch)
treeed0975cd5697b216fe77d5610650c023ab9aa473 /packages
parentUpdate MkRetentionLineChart.vue (diff)
parentfix(frontend): sparkle内にリンクを入れるとクリック不能にな... (diff)
downloadmisskey-84d3a066372bfed8bd1d4ac5a469a84075dea954.tar.gz
misskey-84d3a066372bfed8bd1d4ac5a469a84075dea954.tar.bz2
misskey-84d3a066372bfed8bd1d4ac5a469a84075dea954.zip
Merge branch 'develop' of https://github.com/misskey-dev/misskey into develop
Diffstat (limited to 'packages')
-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>