refactor
This commit is contained in:
parent
18c7ac84e1
commit
675becdea2
|
@ -8,9 +8,7 @@ SPDX-License-Identifier: AGPL-3.0-only
|
||||||
<img v-if="faviconUrl" :class="$style.icon" :src="faviconUrl"/>
|
<img v-if="faviconUrl" :class="$style.icon" :src="faviconUrl"/>
|
||||||
<div :class="$style.name">
|
<div :class="$style.name">
|
||||||
<svg :class="$style.nameSvg" version="1.1" xmlns="http://www.w3.org/2000/svg">
|
<svg :class="$style.nameSvg" version="1.1" xmlns="http://www.w3.org/2000/svg">
|
||||||
<text x="0" y="0" :class="$style.nameSvgText">
|
<text x="0" y="0" :class="$style.nameSvgText">{{ instanceName }}</text>
|
||||||
<tspan x="0" y="0" :class="$style.nameSvgTspan">{{ instanceName }}</tspan>
|
|
||||||
</text>
|
|
||||||
</svg>
|
</svg>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
@ -103,10 +101,7 @@ $height: 2ex;
|
||||||
font-size: inherit;
|
font-size: inherit;
|
||||||
font-weight: inherit;
|
font-weight: inherit;
|
||||||
text-rendering: optimizeLegibility;
|
text-rendering: optimizeLegibility;
|
||||||
transform: translateY(calc(100% - 2.5px));
|
transform: translateY(calc(100% - 2.5px)); // 縁取りの上部分 2.5px
|
||||||
}
|
|
||||||
|
|
||||||
.nameSvgTspan {
|
|
||||||
fill: currentColor;
|
fill: currentColor;
|
||||||
stroke: #000;
|
stroke: #000;
|
||||||
stroke-linecap: round;
|
stroke-linecap: round;
|
||||||
|
|
Loading…
Reference in New Issue