File tree 5 files changed +23
-4
lines changed
5 files changed +23
-4
lines changed Original file line number Diff line number Diff line change @@ -85,6 +85,10 @@ const onTouchEnd = (e: TouchEvent) => {
85
85
opacity : 0 ;
86
86
}
87
87
}
88
+
89
+ @media (width < 725px ) {
90
+ padding : 0 0.75rem 1rem ;
91
+ }
88
92
}
89
93
}
90
94
</style >
Original file line number Diff line number Diff line change @@ -108,17 +108,22 @@ const { openTab } = useLinksStore();
108
108
@include transition .scale ;
109
109
110
110
.poster-container {
111
- --poster-height : calc (min (var (--half-width ), var (--height-70-dvh )) * (9 / 16 ));
111
+ --min-width : var (--half-width );
112
+ --poster-height : calc (min (var (--min-width ), var (--height-70-dvh )) * (9 / 16 ));
112
113
--poster-width : calc (var (--poster-height ) * (2 / 3 ));
113
114
115
+ @media (width < 725px ) {
116
+ --min-width : calc (var (--width-80-dvh ) - 2rem );
117
+ }
118
+
114
119
& .link {
115
120
@include mixin .hover-box-shadow ;
116
121
117
122
cursor : pointer ;
118
123
}
119
124
120
125
& .landscape :not (:has (.poster.portrait )) {
121
- --poster-width : min (var (--half -width ), var (--height-70-dvh ));
126
+ --poster-width : min (var (--min -width ), var (--height-70-dvh ));
122
127
--poster-height : calc (var (--poster-width ) * (9 / 16 ));
123
128
}
124
129
Original file line number Diff line number Diff line change @@ -37,7 +37,9 @@ const isCompact = watchMedia('(max-width: 725px)');
37
37
38
38
<template >
39
39
<NFlex class =" statistics-container" justify =" center" >
40
- <slot v-if =" isCompact" />
40
+ <div v-if =" isCompact" class =" slot-container" >
41
+ <slot />
42
+ </div >
41
43
<PanelRatings v-if =" enableRatings" :ratings =" ratings" />
42
44
<slot v-if =" !isCompact" />
43
45
<PanelScore
@@ -53,4 +55,9 @@ const isCompact = watchMedia('(max-width: 725px)');
53
55
.statistics-container {
54
56
width : 100% ;
55
57
}
58
+
59
+ .slot-container {
60
+ display : flex ;
61
+ flex : 1 1 100% ;
62
+ }
56
63
</style >
Original file line number Diff line number Diff line change @@ -325,14 +325,15 @@ onMounted(() => fetchLists());
325
325
.panel - buttons {
326
326
display : flex ;
327
327
flex - wrap : wrap ;
328
- gap : 1.25rem ;
328
+ gap : 1.25rem 0 ;
329
329
align - items : center ;
330
330
justify - content : center ;
331
331
width : 100 % ;
332
332
margin : 1rem 1rem 1.25rem ;
333
333
334
334
.button - container {
335
335
margin : auto ;
336
+ padding : 0 0.5rem ;
336
337
337
338
i {
338
339
margin - left : calc (0 % - var (-- n - icon - margin ));
@@ -361,6 +362,7 @@ onMounted(() => fetchLists());
361
362
}
362
363
363
364
& :not (.visible ) {
365
+ padding : 0 ;
364
366
cursor : default ;
365
367
pointer - events : none ;
366
368
}
Original file line number Diff line number Diff line change 21
21
--half-width : 50 dvw;
22
22
--width-40-dvh : 40 dvw;
23
23
--width-70-dvh : 70 dvw;
24
+ --width-80-dvh : 80 dvw;
24
25
25
26
/* font variables */
26
27
--font-size-xxs : 0.625rem ;
You can’t perform that action at this time.
0 commit comments