Browse Source

fix LibraryTree button size and remove parent queries

axolotle 2 years ago
parent
commit
d08487957a
2 changed files with 13 additions and 3 deletions
  1. 3 3
      src/api/api.js
  2. 10 0
      src/pages/library/LibraryTree.vue

+ 3 - 3
src/api/api.js

@@ -56,9 +56,9 @@ export default {
     const baseQuery = print(NodesTrees)
     const prodFragment = `
       ... on Textprod {
-        parents: text_de_depart {
-          id
-        }
+        #parents: text_de_depart {
+        #  id
+        #}
 
         siblings: text_en_rebond {
           id

+ 10 - 0
src/pages/library/LibraryTree.vue

@@ -212,6 +212,16 @@ foreignObject {
 .dot-btn {
   transform: translate(-50%, -50%);
   pointer-events: none;
+  min-width: 200px;
+  word-break: unset;
+  white-space: unset;
+  border-radius: 19px !important;
+
+  .node-view-title {
+    min-width: 200px;
+    max-width: 400px;
+    padding-bottom: .25rem;
+  }
 
   &-depart {
     box-shadow: none;