|
18 | 18 | <div class="component-title"> |
19 | 19 | <p>{{ componentData.componentName }}</p> |
20 | 20 | </div> |
21 | | - <div class="component-children"> |
22 | | - <p># of children: {{ componentMap[componentData.componentName].children.length }} </p> |
23 | | - <p>children: {{ componentMap[componentData.componentName].children }}</p> |
| 21 | + <ul class="component-children"> |
| 22 | + <li># of children: {{ componentMap[componentData.componentName].children.length }} </li> |
| 23 | + <li>children: {{ componentMap[componentData.componentName].children }}</li> |
24 | 24 | <!-- <p v-for="child in childList" :key="childList.indexOf(child)"> {{ child.text }}</p> --> |
25 | | - </div> |
| 25 | + </ul> |
26 | 26 | <q-menu context-menu> |
27 | 27 | <q-list> |
28 | 28 | <q-item clickable v-ripple v-close-popup @click="handleAddChild"> |
@@ -179,13 +179,14 @@ export default { |
179 | 179 | top: 0rem; |
180 | 180 | left: 2px; |
181 | 181 | color: black; |
| 182 | + list-style: none; |
182 | 183 | } |
183 | 184 | .component-display { |
184 | 185 | /* border: 3px dashed rgb(159, 122, 122); */ |
185 | 186 | /* height: 500px; */ |
186 | 187 | /* width: 500px; */ |
187 | | - /* original is 70vh */ |
188 | | - height: 95vh; |
| 188 | + /* original is 70 */ |
| 189 | + height: 90vh; |
189 | 190 | width: 100%; |
190 | 191 | position: relative; |
191 | 192 | background: darkslategray; |
@@ -216,14 +217,14 @@ export default { |
216 | 217 | } |
217 | 218 | .component-box { |
218 | 219 | color: white; |
219 | | - border: 1px dashed rgb(227, 203, 71); |
220 | | - background-color: rgba(186, 99, 99, 0.529); |
| 220 | + border: 1.2px dashed rgb(231, 203, 75); |
| 221 | + background-color: rgba(172, 83, 83, 0.42); |
221 | 222 | -webkit-transition: background-color 200ms linear; |
222 | 223 | -ms-transition: background-color 200ms linear; |
223 | 224 | transition: background-color 200ms linear; |
224 | 225 | } |
225 | 226 | .active { |
226 | | - background-color: rgba(57, 63, 84, 0.5); |
| 227 | + background-color: rgba(105, 179, 190, 0.514); |
227 | 228 | border: 1px dashed rgb(227, 203, 71); |
228 | 229 | } |
229 | 230 | </style> |
0 commit comments