Skip to content

Commit dfb2765

Browse files
committed
added media rules for HTML Elements tab
1 parent b355f5e commit dfb2765

File tree

1 file changed

+57
-0
lines changed

1 file changed

+57
-0
lines changed

src/components/HomeQueue.vue

Lines changed: 57 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -158,6 +158,34 @@ li {
158158
text-align: center;
159159
}
160160
161+
@media (max-width: 900px) {
162+
.list-group-item {
163+
display: inline-block;
164+
margin: 2px 1.5%;
165+
width: 45%;
166+
border-radius: 0.5cm;
167+
border: 2px solid $secondary;
168+
background-color: $secondary;
169+
height: 35px;
170+
padding-top: 6px;
171+
text-align: center;
172+
}
173+
}
174+
175+
@media (max-width: 700px) {
176+
.list-group-item {
177+
display: inline-block;
178+
margin: 2px 1.5%;
179+
width: 90%;
180+
border-radius: 0.5cm;
181+
border: 2px solid $secondary;
182+
background-color: $secondary;
183+
height: 35px;
184+
padding-top: 6px;
185+
text-align: center;
186+
}
187+
}
188+
161189
.list-group-item-selected {
162190
display: inline-block;
163191
margin: 2px 1.5%;
@@ -170,6 +198,35 @@ li {
170198
text-align: center;
171199
}
172200
201+
@media (max-width: 900px) {
202+
.list-group-item-selected {
203+
display: inline-block;
204+
margin: 2px 1.5%;
205+
width: 45%;
206+
border-radius: 0.5cm;
207+
border: 2px solid white;
208+
background-color: $secondary;
209+
height: 35px;
210+
padding-top: 6px;
211+
text-align: center;
212+
}
213+
}
214+
215+
@media (max-width: 700px) {
216+
.list-group-item-selected {
217+
display: inline-block;
218+
margin: 2px 1.5%;
219+
width: 90%;
220+
border-radius: 0.5cm;
221+
border: 2px solid white;
222+
background-color: $secondary;
223+
height: 35px;
224+
padding-top: 6px;
225+
text-align: center;
226+
}
227+
}
228+
229+
173230
.fa-trash:hover {
174231
cursor: pointer;
175232
color: red;

0 commit comments

Comments
 (0)