Skip to content

Commit a51f6ca

Browse files
authored
Merge pull request #38 from drewngyen/master
fixed right click mystery margin
2 parents 3709f27 + 37b6b76 commit a51f6ca

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

src/components/ComponentDisplay.vue

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@
2323
<li>children: {{ componentMap[componentData.componentName].children }}</li>
2424
<!-- <p v-for="child in childList" :key="childList.indexOf(child)"> {{ child.text }}</p> -->
2525
</ul>
26-
<q-menu context-menu>
27-
<q-list>
26+
<q-menu context-menu >
27+
<q-list class="menu">
2828
<q-item clickable v-ripple v-close-popup @click="handleAddChild">
2929
<q-item-section>Add Children</q-item-section>
3030
<q-item-section avatar><q-icon color="primary" name="add"/></q-item-section>
@@ -215,6 +215,9 @@ export default {
215215
#269;
216216
behavior: url(/pie/PIE.htc);
217217
}
218+
.menu {
219+
margin-bottom: 0px !important;
220+
}
218221
.component-box {
219222
color: white;
220223
border: 1.2px dashed rgb(231, 203, 75);

src/layouts/MyLayout.vue

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,8 @@
66
<i :class="[left ? 'fas fa-chevron-left' : 'fas fa-list-ul']" id="btn" ></i>
77
</q-btn>
88
<q-toolbar-title>
9-
<q-avatar></q-avatar>PreVue 2.0
9+
<!-- <q-avatar></q-avatar> -->
10+
PreVue 2.0
1011
</q-toolbar-title>
1112
<OpenProjectComponent />
1213
<SaveProjectComponent />

0 commit comments

Comments
 (0)