mirror of
https://github.com/apache/skywalking-booster-ui.git
synced 2025-09-22 14:19:28 +00:00
fix: style
This commit is contained in:
@@ -40,7 +40,12 @@ limitations under the License. -->
|
|||||||
:x="(node.x || 0) - 15"
|
:x="(node.x || 0) - 15"
|
||||||
:y="(node.y || 0) - 15"
|
:y="(node.y || 0) - 15"
|
||||||
/>
|
/>
|
||||||
<text :x="node.x" :y="(node.y || 0) + 28" fill="#000" text-anchor="middle">
|
<text
|
||||||
|
:x="node.x"
|
||||||
|
:y="(node.y || 0) + 28"
|
||||||
|
:fill="appStore.theme === Themes.Dark ? '#fff' : '#000'"
|
||||||
|
text-anchor="middle"
|
||||||
|
>
|
||||||
{{ node.name.length > 10 ? `${node.name.substring(0, 10)}...` : node.name }}
|
{{ node.name.length > 10 ? `${node.name.substring(0, 10)}...` : node.name }}
|
||||||
</text>
|
</text>
|
||||||
</g>
|
</g>
|
||||||
@@ -122,6 +127,7 @@ limitations under the License. -->
|
|||||||
import TimeLine from "./TimeLine.vue";
|
import TimeLine from "./TimeLine.vue";
|
||||||
import { useAppStoreWithOut } from "@/store/modules/app";
|
import { useAppStoreWithOut } from "@/store/modules/app";
|
||||||
import icons from "@/assets/img/icons";
|
import icons from "@/assets/img/icons";
|
||||||
|
import { Themes } from "@/constants/data";
|
||||||
|
|
||||||
/*global Nullable, defineProps */
|
/*global Nullable, defineProps */
|
||||||
const props = defineProps({
|
const props = defineProps({
|
||||||
|
Reference in New Issue
Block a user