Skip to content

Commit e0a31c3

Browse files
marlonwqalexdln
andauthored
fix(ui): remove redundant calendar icons from date inputs (#2042)
Co-authored-by: Alex Savelyev <91429106+alexdln@users.noreply.github.com>
1 parent 7d697a2 commit e0a31c3

File tree

1 file changed

+2
-10
lines changed

1 file changed

+2
-10
lines changed

app/components/Package/TrendsChart.vue

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1613,16 +1613,12 @@ watch(selectedMetric, value => {
16131613
{{ $t('package.trends.start_date') }}
16141614
</label>
16151615
<div class="relative flex items-center">
1616-
<span
1617-
class="absolute inset-is-2 i-lucide:calendar w-4 h-4 text-fg-subtle shrink-0 pointer-events-none"
1618-
aria-hidden="true"
1619-
/>
16201616
<InputBase
16211617
id="startDate"
16221618
v-model="startDate"
16231619
type="date"
16241620
:max="DATE_INPUT_MAX"
1625-
class="w-full min-w-0 bg-transparent ps-7"
1621+
class="w-full min-w-0 bg-transparent"
16261622
size="medium"
16271623
/>
16281624
</div>
@@ -1633,16 +1629,12 @@ watch(selectedMetric, value => {
16331629
{{ $t('package.trends.end_date') }}
16341630
</label>
16351631
<div class="relative flex items-center">
1636-
<span
1637-
class="absolute inset-is-2 i-lucide:calendar w-4 h-4 text-fg-subtle shrink-0 pointer-events-none"
1638-
aria-hidden="true"
1639-
/>
16401632
<InputBase
16411633
id="endDate"
16421634
v-model="endDate"
16431635
type="date"
16441636
:max="DATE_INPUT_MAX"
1645-
class="w-full min-w-0 bg-transparent ps-7"
1637+
class="w-full min-w-0 bg-transparent"
16461638
size="medium"
16471639
/>
16481640
</div>

0 commit comments

Comments
 (0)