This commit is contained in:
kakkokari-gtyih 2025-05-04 14:19:14 +09:00
parent 18c7ac84e1
commit 675becdea2
1 changed files with 2 additions and 7 deletions

View File

@ -8,9 +8,7 @@ SPDX-License-Identifier: AGPL-3.0-only
<img v-if="faviconUrl" :class="$style.icon" :src="faviconUrl"/>
<div :class="$style.name">
<svg :class="$style.nameSvg" version="1.1" xmlns="http://www.w3.org/2000/svg">
<text x="0" y="0" :class="$style.nameSvgText">
<tspan x="0" y="0" :class="$style.nameSvgTspan">{{ instanceName }}</tspan>
</text>
<text x="0" y="0" :class="$style.nameSvgText">{{ instanceName }}</text>
</svg>
</div>
</div>
@ -103,10 +101,7 @@ $height: 2ex;
font-size: inherit;
font-weight: inherit;
text-rendering: optimizeLegibility;
transform: translateY(calc(100% - 2.5px));
}
.nameSvgTspan {
transform: translateY(calc(100% - 2.5px)); // 2.5px
fill: currentColor;
stroke: #000;
stroke-linecap: round;