Skip to content

Commit 43f60ed

Browse files
committed
started noNesting fixes
1 parent 8f3ca48 commit 43f60ed

File tree

2 files changed

+9
-58
lines changed

2 files changed

+9
-58
lines changed

src/components/HomeQueue.vue

Lines changed: 5 additions & 58 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,9 @@
1414
@end="drag = false"
1515
>
1616
<div :class="activeHTML === element[2] ? 'list-group-item-selected' : 'list-group-item'" @dblclick.self="setActiveElement(element)" v-for="(element) in renderList" :key="element[1] + Date.now()">
17+
<!-- <i class="fas fa fa-angle-double-down fa-md" @click="setLayer({text: element[0], id: element[2]})"></i> -->
18+
<!-- <i v-if='activeComponent !== "" && (element[0] !== "img" && element[0] !== "link")' class="fas fa fa-angle-double-down fa-md" id="noNesting" @click="setLayer({text: element[0], id: element[2]})"></i> -->
19+
<!-- <i v-else class="fas fa fa-angle-double-down fa-md" @click="setLayer({text: element[0], id: element[2]})"></i> -->
1720
<i class="fas fa fa-angle-double-down fa-md" @click="setLayer({text: element[0], id: element[2]})"></i>
1821
{{ element[0] }}
1922
<i class="fas fa fa-trash fa-md" @click.self="deleteElement([element[1],element[2]])"></i>
@@ -150,7 +153,7 @@ li {
150153
.list-group-item {
151154
display: inline-block;
152155
margin: 2px 1.5%;
153-
min-width: 145px;
156+
min-width: 175px;
154157
width: 30%;
155158
border-radius: 0.5cm;
156159
border: 2px solid $secondary;
@@ -160,37 +163,10 @@ li {
160163
text-align: center;
161164
}
162165
163-
@media (max-width: 900px) {
164-
.list-group-item {
165-
display: inline-block;
166-
margin: 2px 1.5%;
167-
width: 45%;
168-
border-radius: 0.5cm;
169-
border: 2px solid $secondary;
170-
background-color: $secondary;
171-
height: 35px;
172-
padding-top: 6px;
173-
text-align: center;
174-
}
175-
}
176-
177-
@media (max-width: 700px) {
178-
.list-group-item {
179-
display: inline-block;
180-
margin: 2px 1.5%;
181-
width: 90%;
182-
border-radius: 0.5cm;
183-
border: 2px solid $secondary;
184-
background-color: $secondary;
185-
height: 35px;
186-
padding-top: 6px;
187-
text-align: center;
188-
}
189-
}
190-
191166
.list-group-item-selected {
192167
display: inline-block;
193168
margin: 2px 1.5%;
169+
min-width: 175px;
194170
width: 30%;
195171
border-radius: 0.5cm;
196172
border: 2px solid white;
@@ -200,35 +176,6 @@ li {
200176
text-align: center;
201177
}
202178
203-
@media (max-width: 900px) {
204-
.list-group-item-selected {
205-
display: inline-block;
206-
margin: 2px 1.5%;
207-
width: 45%;
208-
border-radius: 0.5cm;
209-
border: 2px solid white;
210-
background-color: $secondary;
211-
height: 35px;
212-
padding-top: 6px;
213-
text-align: center;
214-
}
215-
}
216-
217-
@media (max-width: 700px) {
218-
.list-group-item-selected {
219-
display: inline-block;
220-
margin: 2px 1.5%;
221-
width: 90%;
222-
border-radius: 0.5cm;
223-
border: 2px solid white;
224-
background-color: $secondary;
225-
height: 35px;
226-
padding-top: 6px;
227-
text-align: center;
228-
}
229-
}
230-
231-
232179
.fa-trash:hover {
233180
cursor: pointer;
234181
color: red;

src/layouts/MyLayout.vue

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -141,4 +141,8 @@ export default {
141141
background: $subprimary;
142142
// background: #272822;
143143
}
144+
145+
// ::-webkit-scrollbar {
146+
// display: none;
147+
// }
144148
</style>

0 commit comments

Comments
 (0)