fix: 修复节点和连线错位问题

- 修复MindMap.vue中.topic-content样式的align-items冲突
- 将align-items从flex-start改为center,确保节点内容居中对齐
- 解决节点和连线错位问题,恢复正常的思维导图显示
This commit is contained in:
lixinran 2025-10-10 14:40:19 +08:00
parent f1ef56c3c4
commit cef6b60db7
6 changed files with 8 additions and 8 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -23,8 +23,8 @@
flex-direction: column; flex-direction: column;
} }
</style> </style>
<script type="module" crossorigin src="/assets/index-2e59748b.js"></script> <script type="module" crossorigin src="/assets/index-2d6d975e.js"></script>
<link rel="stylesheet" href="/assets/index-c3af8656.css"> <link rel="stylesheet" href="/assets/index-f7e35254.css">
</head> </head>
<body> <body>
<div id="app"></div> <div id="app"></div>

View File

@ -4449,7 +4449,7 @@ const updateMindMapRealtime = async (data, title) => {
.topic-content { .topic-content {
display: flex; display: flex;
flex-direction: column; flex-direction: column;
align-items: flex-start; align-items: center;
} }
/* 强制设置节点中图片的大小 */ /* 强制设置节点中图片的大小 */