Skip to content

Commit 21fc868

Browse files
committed
to fix: About bottom figures, vert long tablet overflow
1 parent 5de1994 commit 21fc868

File tree

3 files changed

+12
-7
lines changed

3 files changed

+12
-7
lines changed

Routes/CartRoute.js

+3
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,9 @@ export const CartRoute = {
5454
</dialog>
5555
</div>`,
5656
methods:{
57+
hideThis(){
58+
event.target.style = "display:none;"
59+
},
5760
showDialog(){
5861
let dialog = document.querySelector('dialog');
5962
//dialog.show();

Routes/Item.js

+6-5
Original file line numberDiff line numberDiff line change
@@ -66,11 +66,12 @@ export const Item = {
6666
<option v-for="i in 11" :value="i-1" class="item-size-amount-selector">{{ i-1 }}</option>
6767
</select>
6868
</div>
69-
<div v-if="!item.options[0]?.choices" class="item-selector-and-label">
70-
<label for="One-Size" class="item-selector-label"> One-Size </label>
71-
<select id="One-Size" name="One-Size">
72-
<option v-for="i in 11" :value="i-1" class="item-size-amount-selector">{{ i-1 }}</option>
73-
</select>
69+
<div v-if="!item.options[0]?.choices && item.name.slice(9) === 'Солнечные очки'"
70+
class="item-selector-and-label only-for-glasses">
71+
<label for="One-Size" class="item-selector-label"> One-Size </label>
72+
<select id="One-Size" name="One-Size">
73+
<option v-for="i in 11" :value="i-1" class="item-size-amount-selector">{{ i-1 }}</option>
74+
</select>
7475
</div>
7576
7677
</fieldset>

styles.css

+3-2
Original file line numberDiff line numberDiff line change
@@ -296,10 +296,11 @@ nav{
296296
/*================ COLLECTIONS =======================*/
297297
.collections-gender-icon{
298298
transition: all 0.4s linear;
299-
width:65%;
299+
width: 60%;
300+
/*width:65%;*/
300301
}
301302
.collections-gender-icon:hover{
302-
width:95%;
303+
width:80%;
303304
}
304305

305306
.collections-header{

0 commit comments

Comments
 (0)