diff --git a/src/components/InteractiveEditor/AddNewSectionLauncher.vue b/src/components/InteractiveEditor/AddNewSectionLauncher.vue index 965778ed..26db0445 100644 --- a/src/components/InteractiveEditor/AddNewSectionLauncher.vue +++ b/src/components/InteractiveEditor/AddNewSectionLauncher.vue @@ -61,6 +61,7 @@ export default { text-align: center; height: fit-content; margin: 10px; + min-width: 250px; } diff --git a/src/components/LinkItems/Item.vue b/src/components/LinkItems/Item.vue index 6e4c28ec..75cf3563 100644 --- a/src/components/LinkItems/Item.vue +++ b/src/components/LinkItems/Item.vue @@ -122,10 +122,6 @@ export default { data() { return { editMenuOpen: false, - customStyles: { - color: this.item.color, - background: this.item.backgroundColor, - }, }; }, methods: { @@ -312,7 +308,8 @@ p.description { justify-content: flex-end; align-items: center; height: 2rem; - padding-top: 4px; + padding-top: 0.25rem; + padding-left: 0.5rem; div img { width: 2rem; } diff --git a/src/components/LinkItems/Section.vue b/src/components/LinkItems/Section.vue index ba961c56..edb1e58b 100644 --- a/src/components/LinkItems/Section.vue +++ b/src/components/LinkItems/Section.vue @@ -30,6 +30,7 @@ :itemId="item.id" :title="item.title" :subItems="item.subItems" + @triggerModal="triggerModal" /> diff --git a/src/components/LinkItems/SubItem.vue b/src/components/LinkItems/SubItem.vue index f4e3adc5..9760f55b 100644 --- a/src/components/LinkItems/SubItem.vue +++ b/src/components/LinkItems/SubItem.vue @@ -13,7 +13,8 @@ class="sub-item-link item" > - + @@ -37,6 +36,12 @@ export default { return 2; }, }, + methods: { + /* Pass open modal emit event up */ + triggerModal(url) { + this.$emit('triggerModal', url); + }, + }, }; diff --git a/src/components/MinimalView/MinimalSection.vue b/src/components/MinimalView/MinimalSection.vue index 0cac4510..95a5c8a3 100644 --- a/src/components/MinimalView/MinimalSection.vue +++ b/src/components/MinimalView/MinimalSection.vue @@ -1,30 +1,27 @@