mirror of
https://github.com/apache/skywalking-booster-ui.git
synced 2025-05-14 09:00:50 +00:00
fix style
This commit is contained in:
parent
4860c05e5a
commit
58aca03d75
@ -19,7 +19,7 @@ limitations under the License. -->
|
||||
<div class="schedules">
|
||||
<Schedules />
|
||||
</div>
|
||||
<div class="item">
|
||||
<div class="item" v-show="networkProfilingStore.nodes.length">
|
||||
<process-topology />
|
||||
</div>
|
||||
</div>
|
||||
@ -29,6 +29,9 @@ limitations under the License. -->
|
||||
import Tasks from "./components/Tasks.vue";
|
||||
import Schedules from "./components/Schedules.vue";
|
||||
import ProcessTopology from "./components/ProcessTopology.vue";
|
||||
import { useNetworkProfilingStore } from "@/store/modules/network-profiling";
|
||||
|
||||
const networkProfilingStore = useNetworkProfilingStore();
|
||||
</script>
|
||||
<style lang="scss" scoped>
|
||||
.content {
|
||||
|
@ -80,10 +80,10 @@ async function init() {
|
||||
|
||||
function drawGraph() {
|
||||
const dom = chart.value?.getBoundingClientRect() || {
|
||||
height: 40,
|
||||
height: 20,
|
||||
width: 0,
|
||||
};
|
||||
height.value = dom.height - 40;
|
||||
height.value = dom.height - 20;
|
||||
width.value = dom.width;
|
||||
svg.value.attr("height", height.value).attr("width", width.value);
|
||||
tip.value = (d3tip as any)().attr("class", "d3-tip").offset([-8, 0]);
|
||||
|
Loading…
Reference in New Issue
Block a user