Skip to content

Commit 03154aa

Browse files
committed
change some style in CreateMenuHTMLQueue
1 parent bed0221 commit 03154aa

File tree

3 files changed

+12
-4
lines changed

3 files changed

+12
-4
lines changed

src/components/left-sidebar/ComponentTab/CreateMenuHTMLQueue.vue

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,11 +169,12 @@ li {
169169
height: 35px;
170170
padding-top: 6px;
171171
text-align: center;
172+
cursor: move;
172173
}
173174
174175
.list-group-item-selected {
175176
display: inline-block;
176-
margin: 2px 1.5%;
177+
margin: 4px 1.5%;
177178
min-width: 175px;
178179
width: 30%;
179180
border-radius: 0.5cm;
@@ -182,6 +183,7 @@ li {
182183
height: 35px;
183184
padding-top: 6px;
184185
text-align: center;
186+
cursor: move;
185187
}
186188
187189
.fa-trash:hover {
@@ -224,4 +226,12 @@ li {
224226
hr {
225227
border: 1px solid grey
226228
}
229+
230+
.currentlyDragging {
231+
opacity: .5;
232+
}
233+
234+
.ignoreByDragover {
235+
pointer-events: none;
236+
}
227237
</style>

src/components/right-sidebar/CodeSnippet.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ export default {
8080
// Creates beginner boilerplate
8181
createTemplate(componentName) {
8282
let templateTagStr = this.writeTemplateTag(componentName);
83-
83+
8484
//if/else statement to determine if there are class and id attributes present in the html element
8585
if (this.activeComponentObj.htmlAttributes.class !== "" && this.activeComponentObj.htmlAttributes.id !== "") {
8686
return `<template>\n <div id = "${this.activeComponentObj.htmlAttributes.id}" class = "${this.activeComponentObj.htmlAttributes.class}">\n${templateTagStr} </div>\n</template>`;

src/components/right-sidebar/HTMLQueue.vue

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -332,8 +332,6 @@ hr {
332332
}
333333
334334
335-
336-
337335
.AttributeBox {
338336
background-color: $subsecondary;
339337
color: $menutext;

0 commit comments

Comments
 (0)