刘立冬 2 nedēļas atpakaļ
vecāks
revīzija
94029d63a7
1 mainītis faili ar 8 papildinājumiem un 10 dzēšanām
  1. 8 10
      visualization/knowledge_search_traverse/index.js

+ 8 - 10
visualization/knowledge_search_traverse/index.js

@@ -821,19 +821,18 @@ function NoteNode({ id, data, sourcePosition, targetPosition }) {
                   style={{
                     position: 'absolute',
                     left: '8px',
-                    top: '50%',
-                    transform: 'translateY(-50%)',
+                    top: '800px',
                     background: 'rgba(0, 0, 0, 0.5)',
                     color: 'white',
                     border: 'none',
                     borderRadius: '50%',
-                    width: '48px',
-                    height: '48px',
+                    width: '72px',
+                    height: '72px',
                     cursor: 'pointer',
                     display: 'flex',
                     alignItems: 'center',
                     justifyContent: 'center',
-                    fontSize: '28px',
+                    fontSize: '40px',
                   }}
                 >
@@ -843,19 +842,18 @@ function NoteNode({ id, data, sourcePosition, targetPosition }) {
                   style={{
                     position: 'absolute',
                     right: '8px',
-                    top: '50%',
-                    transform: 'translateY(-50%)',
+                    top: '800px',
                     background: 'rgba(0, 0, 0, 0.5)',
                     color: 'white',
                     border: 'none',
                     borderRadius: '50%',
-                    width: '48px',
-                    height: '48px',
+                    width: '72px',
+                    height: '72px',
                     cursor: 'pointer',
                     display: 'flex',
                     alignItems: 'center',
                     justifyContent: 'center',
-                    fontSize: '28px',
+                    fontSize: '40px',
                   }}
                 >