@widgetic/file-browser 0.5.32 → 0.5.33
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -2463,12 +2463,6 @@
|
|
|
2463
2463
|
return label.length > widest.length ? label : widest;
|
|
2464
2464
|
}, '');
|
|
2465
2465
|
|
|
2466
|
-
$: widestFilterLabel = filterOptions.reduce((widest, option) => option.label.length > widest.length ? option.label : widest, '');
|
|
2467
|
-
$: widestSortLabel = sortOptions.reduce((widest, option) => {
|
|
2468
|
-
const label = $t(option.labelKey);
|
|
2469
|
-
return label.length > widest.length ? label : widest;
|
|
2470
|
-
}, '');
|
|
2471
|
-
|
|
2472
2466
|
// Replace the existing reactive statement for filter
|
|
2473
2467
|
$: {
|
|
2474
2468
|
if (persistHistory && filter) {
|
|
@@ -169,7 +169,7 @@
|
|
|
169
169
|
onmouseenter={() => showControls = true}
|
|
170
170
|
>
|
|
171
171
|
<div
|
|
172
|
-
class="video-preview-frame relative max-w-full"
|
|
172
|
+
class="video-preview-frame relative max-w-full overflow-hidden rounded-large widgetic-radius"
|
|
173
173
|
style={frameWidth > 0 && frameHeight > 0
|
|
174
174
|
? `width: ${frameWidth}px; height: ${frameHeight}px;`
|
|
175
175
|
: 'width: 68px; height: 68px;'}
|