исправление стилей соединений и padding сохранения svg

This commit is contained in:
Ellina Sohnenko 2026-05-20 07:26:45 +03:00
parent df37ab9e88
commit 99f520a672
3 changed files with 4 additions and 4 deletions

View File

@ -196,8 +196,8 @@ html, body, #root {
.preview-port {
position: absolute;
width: 6px;
height: 6px;
width: 7px;
height: 7px;
border-radius: 50%;
}

View File

@ -84,7 +84,7 @@ function App() {
}
const bounds = getNodesBounds(nodes)
const padding = 20
const padding = 30
const widthExportWindow = bounds.width + padding * 2
const heightExportWindow = bounds.height + padding * 2

View File

@ -64,7 +64,7 @@ export const ToolbarBlock = memo(({ block, onDragStart }) => {
export function ToolbarLine({ line, caseWidth, isActive, onClick }) {
return (
<button
className={isActive ? 'activeConnectionTab' : 'notActiveConnectionTab'}
className={isActive ? 'activeEdgeTab' : 'notActiveEdgeTab'}
onClick={() => onClick && onClick(line.type)}
style={{
width: `${caseWidth}px`,