исправление стилей соединений и padding сохранения svg
This commit is contained in:
parent
df37ab9e88
commit
99f520a672
@ -196,8 +196,8 @@ html, body, #root {
|
||||
|
||||
.preview-port {
|
||||
position: absolute;
|
||||
width: 6px;
|
||||
height: 6px;
|
||||
width: 7px;
|
||||
height: 7px;
|
||||
border-radius: 50%;
|
||||
}
|
||||
|
||||
|
||||
@ -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
|
||||
|
||||
|
||||
@ -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`,
|
||||
|
||||
Loading…
Reference in New Issue
Block a user