Skip to content

Commit ea8b8be

Browse files
committed
added text-shadow to components and gave components minimum width so they wouldnt get smushed when resizing the screen
1 parent 47bd8ac commit ea8b8be

File tree

3 files changed

+7
-17
lines changed

3 files changed

+7
-17
lines changed

src/components/ComponentDisplay.vue

Lines changed: 1 addition & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@
1818
@deactivated="onDeactivated(componentData)"
1919
@dragging="onDrag"
2020
@resizing="onResize"
21-
@dblclick.native="onDoubleClick(componentData)"
2221
@dragstop="finishedDrag"
2322
@resizestop="finishedResize"
2423
:onDragStart="recordInitialPosition"
@@ -368,12 +367,6 @@ export default {
368367
// console.log("We just clicked without making a new active component")
369368
// }
370369
},
371-
onDoubleClick (compData) {
372-
if (!(componentData.componentName === this.activeComponent)) {
373-
this.setActiveComponent(componentData.componentName)
374-
}
375-
this.activeComponentData.isActive = true
376-
},
377370
handleAddChild () {
378371
// render modal with childrenmultiselect in it
379372
this.modalOpen = true
@@ -396,11 +389,6 @@ export default {
396389
if (e.target.innerText === '-' && payload.z > 0) payload.z--
397390
this.updateComponentLayer(payload)
398391
},
399-
// @dblclick.native="onDoubleClick(componentData)"
400-
// onDoubleClick (compData) {
401-
// this.setActiveComponent(compData.componentName)
402-
// this.activeComponentData.isActive = true
403-
// }
404392
handleClick (event) {
405393
if (event.target.className === 'component-display grid-bg') {
406394
if (!(this.activeComponent === '')) this.setActiveComponent('')
@@ -417,6 +405,7 @@ export default {
417405
top: -18px;
418406
left: 2px;
419407
color: black;
408+
text-shadow: white 0px 0px 3px;
420409
font-weight: 800;
421410
/* background: rgba(0, 0, 0, 0.678); */
422411
/* width: 1rem; */

src/components/Footer.vue

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
<q-tab name="html" label="HTML Elements" id="label-text" />
2323
</q-tabs>
2424

25-
<q-tab-panels v-model="tab" animated class="html-bg text-white full-footer">
25+
<q-tab-panels v-model="tab" animated class="html-bg text-white" >
2626
<q-tab-panel name="code">
2727
<CodeSnippet />
2828
</q-tab-panel>
@@ -172,10 +172,10 @@ i {
172172
background: black;
173173
}
174174
175-
.full-footer {
176-
// height: 100vh;
177-
padding-bottom: 0px;
178-
}
175+
// .full-footer {
176+
// // height: 100vh;
177+
178+
// }
179179
180180
#footer-cards {
181181
height: 100%;

src/components/HomeQueue.vue

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -150,6 +150,7 @@ li {
150150
.list-group-item {
151151
display: inline-block;
152152
margin: 2px 1.5%;
153+
min-width: 145px;
153154
width: 30%;
154155
border-radius: 0.5cm;
155156
border: 2px solid $secondary;

0 commit comments

Comments
 (0)