Skip to content

Commit eded86a

Browse files
Merge pull request #23 from ziggrace/sean/snippet
aesthetic changes, fixed edit sidebar size, font color
2 parents 499984c + f4cc507 commit eded86a

File tree

4 files changed

+13
-12
lines changed

4 files changed

+13
-12
lines changed

src/components/ComponentDisplay.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ Description:
3131
:onResizeStart="recordInitialSize"
3232
>
3333
<div class="component-title">
34-
<p>{{ componentData.componentName }}</p>
34+
<p style='color: black'>{{ componentData.componentName }}</p>
3535
</div>
3636
<!-- <div class="component-html-info"> -->
3737
<!-- <p>Elements in Component:</p> -->

src/components/dashboard_items/Dashboard.vue

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -87,14 +87,14 @@ export default {
8787
},
8888
watch: {
8989
// toggles dashboard to "Component Details" tab when a components is selected
90-
activeComponent: function () {
91-
if (this.activeComponent !== '') {
92-
this.tab = 'detail'
93-
} else {
94-
// otherwise toggle dashboard to 'Project Tree' tab if no component is selected
95-
this.tab = 'tree'
96-
}
97-
},
90+
// activeComponent: function () {
91+
// if (this.activeComponent !== '') {
92+
// this.tab = 'detail'
93+
// } else {
94+
// // otherwise toggle dashboard to 'Project Tree' tab if no component is selected
95+
// this.tab = 'tree'
96+
// }
97+
// },
9898
// otherwise toggle dashboard to 'Project Tree' tab if no component is selected or the
9999
// user is in the process of creating a component
100100
componentNameInputValue: function () {

src/components/home_sidebar_items/EditDeleteComponents.vue

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,8 +45,9 @@ Description:
4545
<p class="editName" v-if="this.activeComponentObj">
4646
Currently selected component: {{ this.activeComponentObj.componentName }}
4747
</p>
48-
<p class="editName" v-else>Select a component</p>
48+
<!-- <p class="editName" v-else>Select a component</p> -->
4949
<q-btn id="deleteButton" @click="deleteSelectedComp(activeComponentData)" label = 'Delete currently selected'/>
50+
<br/>
5051
<div v-if="this.activeComponentData">
5152
<br/>
5253
<!-- @input="selectParent"
@@ -160,7 +161,7 @@ Description:
160161
</q-list>
161162
</a>
162163
</div>
163-
<p v-else> Select Component to Enable Edit </p>
164+
<p v-else> <br/> Select Component to Enable Edit </p>
164165
</div>
165166
</template>
166167

src/components/home_sidebar_items/HomeSideDropDown.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ Description:
88
<q-list padding bordered class="rounded-borders drawer-menu">
99
<q-expansion-item dense dense-toggle expand-separator label="Edit/Delete Components">
1010
<q-card>
11-
<div class="input-container" style='height: 500px'>
11+
<div class="input-container" style='height: 100%'>
1212
<EditDeleteComponents />
1313
</div>
1414
</q-card>

0 commit comments

Comments
 (0)