mirror of
https://github.com/apache/skywalking-booster-ui.git
synced 2025-05-12 15:52:57 +00:00
fix: style
This commit is contained in:
parent
c1c086d999
commit
e2be8d2e54
@ -40,7 +40,12 @@ limitations under the License. -->
|
||||
:x="(node.x || 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 }}
|
||||
</text>
|
||||
</g>
|
||||
@ -122,6 +127,7 @@ limitations under the License. -->
|
||||
import TimeLine from "./TimeLine.vue";
|
||||
import { useAppStoreWithOut } from "@/store/modules/app";
|
||||
import icons from "@/assets/img/icons";
|
||||
import { Themes } from "@/constants/data";
|
||||
|
||||
/*global Nullable, defineProps */
|
||||
const props = defineProps({
|
||||
|
Loading…
Reference in New Issue
Block a user