1
0
mirror of https://gitee.com/coder-xiaomo/algorithm-visualization synced 2025-09-11 15:01:40 +08:00
Code Issues Projects Releases Wiki Activity GitHub Gitee

bug fixed.

This commit is contained in:
2022-05-18 16:47:17 +08:00
parent 065ef077c0
commit a4607a218a
6 changed files with 41 additions and 25 deletions

9
src/assets/css/svg.css Normal file
View File

@@ -0,0 +1,9 @@
/* 调整 SVG 中文本定位点到文本中央 */
text {
text-anchor: middle;
dominant-baseline: middle;
}
svg {
user-select: none;
}