File tree 5 files changed +25
-6
lines changed
5 files changed +25
-6
lines changed Original file line number Diff line number Diff line change @@ -90,7 +90,7 @@ const { openTab } = useLinksStore();
90
90
<span class =" prefix" >{{ label }}</span >
91
91
</slot >
92
92
<slot >
93
- <NFlex v-if =" array" class =" value" >
93
+ <NFlex v-if =" array" class =" value" wrap >
94
94
<template v-if =" values !== undefined " >
95
95
<TagLinkComponent
96
96
v-for =" (tag, i) of values"
Original file line number Diff line number Diff line change @@ -113,6 +113,7 @@ const root = ref<HTMLElement>();
113
113
text-rendering : optimizelegibility ;
114
114
-webkit-font-smoothing : antialiased ;
115
115
-moz-osx-font-smoothing : grayscale ;
116
+ scrollbar-width : thin ;
116
117
}
117
118
118
119
#trakt-extension-root {
Original file line number Diff line number Diff line change @@ -94,14 +94,15 @@ const movieTitle = computed(() => deCapitalise(movie?.value?.title));
94
94
</script >
95
95
96
96
<template >
97
- <NFlex size =" large" class =" container" vertical >
98
- <NFlex vertical size =" large" >
97
+ <NFlex size =" large" class =" container" vertical wrap >
98
+ <NFlex class = " link-row " vertical size =" large" wrap >
99
99
<!-- Genres -->
100
100
<TextField
101
101
:label =" i18n('genres')"
102
102
:values =" genres"
103
103
:skeleton =" { width: '3rem' }"
104
104
array
105
+ wrap
105
106
/>
106
107
107
108
<!-- links -->
@@ -201,6 +202,11 @@ const movieTitle = computed(() => deCapitalise(movie?.value?.title));
201
202
width : 100% ;
202
203
}
203
204
205
+ .link-row {
206
+ overflow-x : auto ;
207
+ scrollbar-width : thin ;
208
+ }
209
+
204
210
.lists {
205
211
margin : 0.25rem 0 1.25rem ;
206
212
}
Original file line number Diff line number Diff line change @@ -146,5 +146,11 @@ const links = computed(() => {
146
146
</script >
147
147
148
148
<template >
149
- <TextField :label =" i18n('links')" :values =" links" :skeleton =" { width: '3rem' }" array />
149
+ <TextField
150
+ :label =" i18n('links')"
151
+ :values =" links"
152
+ :skeleton =" { width: '3rem' }"
153
+ array
154
+ wrap
155
+ />
150
156
</template >
Original file line number Diff line number Diff line change @@ -182,14 +182,15 @@ const title = computed(() =>
182
182
</script >
183
183
184
184
<template >
185
- <NFlex size =" large" class =" container" vertical >
186
- <NFlex vertical size =" large" >
185
+ <NFlex size =" large" class =" container" vertical wrap >
186
+ <NFlex class = " link-row " vertical size =" large" wrap >
187
187
<!-- Genres -->
188
188
<TextField
189
189
:label =" i18n('genres')"
190
190
:values =" genres"
191
191
:skeleton =" { width: '3rem' }"
192
192
array
193
+ wrap
193
194
/>
194
195
195
196
<!-- links -->
@@ -315,6 +316,11 @@ const title = computed(() =>
315
316
width : 100% ;
316
317
}
317
318
319
+ .link-row {
320
+ overflow-x : auto ;
321
+ scrollbar-width : thin ;
322
+ }
323
+
318
324
@media (width < 700px ) {
319
325
.row {
320
326
gap : 0.75rem 0.5rem !important ;
You can’t perform that action at this time.
0 commit comments