Skip to content

Commit b6dae1d

Browse files
committed
fix(css): adjust stats value min-width
1 parent 93669c6 commit b6dae1d

File tree

1 file changed

+17
-3
lines changed

1 file changed

+17
-3
lines changed

src/components/views/settings/SettingsAccount.vue

+17-3
Original file line numberDiff line numberDiff line change
@@ -206,11 +206,13 @@ useWatchActivated(
206206
:label="i18n('watchlist_max')"
207207
:value="limits?.watchlist?.item_count"
208208
:loading="userSettingLoading"
209+
grow
209210
/>
210211
<TextField
211212
:label="i18n('favorites_max')"
212213
:value="limits?.favorites?.item_count"
213214
:loading="userSettingLoading"
215+
grow
214216
/>
215217
</NFlex>
216218
<NFlex vertical class="flex-column">
@@ -234,6 +236,7 @@ useWatchActivated(
234236
:value="userStat?.movies?.watched ?? '-'"
235237
:loading="userStatLoading"
236238
label-width="8rem"
239+
value-width="4rem"
237240
/>
238241

239242
<TextField
@@ -243,7 +246,8 @@ useWatchActivated(
243246
"
244247
:value="movieWatchTime"
245248
:loading="userStatLoading"
246-
label-width="8rem"
249+
label-width="8.5rem"
250+
grow
247251
/>
248252
</NFlex>
249253
<NFlex class="flex-auto" wrap>
@@ -252,6 +256,7 @@ useWatchActivated(
252256
:value="userStat?.episodes?.watched ?? '-'"
253257
:loading="userStatLoading"
254258
label-width="8rem"
259+
value-width="4rem"
255260
/>
256261
<TextField
257262
:label="i18n('user_stats_episodes_time')"
@@ -260,7 +265,8 @@ useWatchActivated(
260265
"
261266
:value="episodeWatchTime"
262267
:loading="userStatLoading"
263-
label-width="8rem"
268+
label-width="8.5rem"
269+
grow
264270
/>
265271
</NFlex>
266272

@@ -270,12 +276,14 @@ useWatchActivated(
270276
:value="userStat?.shows?.watched ?? '-'"
271277
:loading="userStatLoading"
272278
label-width="8rem"
279+
value-width="4rem"
273280
/>
274281
<TextField
275282
:label="i18n('user_stats_total_time')"
276283
:value="totalWatchTime"
277284
:loading="userStatLoading"
278-
label-width="8rem"
285+
label-width="8.5rem"
286+
grow
279287
/>
280288
</NFlex>
281289
</NFlex>
@@ -289,12 +297,14 @@ useWatchActivated(
289297
:value="userStat?.episodes?.collected ?? '-'"
290298
:loading="userStatLoading"
291299
label-width="8rem"
300+
value-width="4rem"
292301
/>
293302
<TextField
294303
:label="i18n('user_stats_movies_collected')"
295304
:value="userStat?.movies?.collected ?? '-'"
296305
:loading="userStatLoading"
297306
label-width="8rem"
307+
grow
298308
/>
299309
</NFlex>
300310
</NFlex>
@@ -308,12 +318,14 @@ useWatchActivated(
308318
:value="userStat?.shows?.ratings"
309319
:loading="userStatLoading"
310320
label-width="8rem"
321+
value-width="4rem"
311322
/>
312323
<TextField
313324
:label="i18n('user_stats_episodes_ratings')"
314325
:value="userStat?.episodes?.ratings"
315326
:loading="userStatLoading"
316327
label-width="8rem"
328+
grow
317329
/>
318330
</NFlex>
319331

@@ -323,12 +335,14 @@ useWatchActivated(
323335
:value="userStat?.movies?.ratings"
324336
:loading="userStatLoading"
325337
label-width="8rem"
338+
value-width="4rem"
326339
/>
327340
<TextField
328341
:label="i18n('user_stats_ratings')"
329342
:value="userStat?.ratings?.total"
330343
:loading="userStatLoading"
331344
label-width="8rem"
345+
grow
332346
/>
333347
</NFlex>
334348
</NFlex>

0 commit comments

Comments
 (0)