Skip to content

Commit efa1d8e

Browse files
committed
feat: improve downloads filters ui
1 parent 87efb1b commit efa1d8e

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

app/components/Package/DownloadAnalytics.vue

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1488,7 +1488,7 @@ const chartConfig = computed(() => {
14881488
id="granularity"
14891489
v-model="selectedGranularity"
14901490
:disabled="pending"
1491-
class="w-full px-2.5 py-1.75 bg-bg-subtle font-mono text-sm text-fg outline-none appearance-none focus-visible:outline-accent/70"
1491+
class="w-full px-4 py-3 leading-none bg-bg-subtle font-mono text-sm text-fg outline-none appearance-none focus-visible:outline-accent/70"
14921492
>
14931493
<option value="daily">{{ $t('package.downloads.granularity_daily') }}</option>
14941494
<option value="weekly">{{ $t('package.downloads.granularity_weekly') }}</option>
@@ -1508,7 +1508,7 @@ const chartConfig = computed(() => {
15081508
</label>
15091509
<div class="relative flex items-center">
15101510
<span
1511-
class="absolute inset-is-2 i-carbon:calendar w-4 h-4 text-fg-subtle shrink-0"
1511+
class="absolute inset-is-2 i-carbon:calendar w-4 h-4 text-fg-subtle shrink-0 pointer-events-none"
15121512
aria-hidden="true"
15131513
/>
15141514
<InputBase
@@ -1517,7 +1517,7 @@ const chartConfig = computed(() => {
15171517
:disabled="pending"
15181518
type="date"
15191519
class="w-full min-w-0 bg-transparent ps-7"
1520-
size="small"
1520+
size="medium"
15211521
/>
15221522
</div>
15231523
</div>
@@ -1528,7 +1528,7 @@ const chartConfig = computed(() => {
15281528
</label>
15291529
<div class="relative flex items-center">
15301530
<span
1531-
class="absolute inset-is-2 i-carbon:calendar w-4 h-4 text-fg-subtle shrink-0"
1531+
class="absolute inset-is-2 i-carbon:calendar w-4 h-4 text-fg-subtle shrink-0 pointer-events-none"
15321532
aria-hidden="true"
15331533
/>
15341534
<InputBase
@@ -1537,7 +1537,7 @@ const chartConfig = computed(() => {
15371537
:disabled="pending"
15381538
type="date"
15391539
class="w-full min-w-0 bg-transparent ps-7"
1540-
size="small"
1540+
size="medium"
15411541
/>
15421542
</div>
15431543
</div>

0 commit comments

Comments
 (0)