Skip to content

Commit

Permalink
Merge pull request #247 from shariquerik/minor-fixes
Browse files Browse the repository at this point in the history
fix: Minor fixes
  • Loading branch information
shariquerik authored Dec 29, 2024
2 parents 0f32e2e + d269f5f commit 2558599
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 13 deletions.
3 changes: 1 addition & 2 deletions src/components/DatePicker/DatePicker.vue
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
:placement="placement"
>
<template #target="{ togglePopover }">
<Input
<TextInput
readonly
type="text"
icon-left="calendar"
Expand Down Expand Up @@ -126,7 +126,6 @@
<script setup lang="ts">
import { computed, onMounted } from 'vue'
import Input from '../Input.vue'
import { Button } from '../Button'
import Popover from '../Popover.vue'
import FeatherIcon from '../FeatherIcon.vue'
Expand Down
3 changes: 1 addition & 2 deletions src/components/DatePicker/DateRangePicker.vue
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
:placement="placement"
>
<template #target="{ togglePopover }">
<Input
<TextInput
readonly
type="text"
icon-left="calendar"
Expand Down Expand Up @@ -122,7 +122,6 @@
<script setup lang="ts">
import { computed, ref, onMounted } from 'vue'
import Input from '../Input.vue'
import { Button } from '../Button'
import Popover from '../Popover.vue'
import FeatherIcon from '../FeatherIcon.vue'
Expand Down
3 changes: 1 addition & 2 deletions src/components/DatePicker/DateTimePicker.vue
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
:placement="placement"
>
<template #target="{ togglePopover }">
<Input
<TextInput
readonly
type="text"
icon-left="calendar"
Expand Down Expand Up @@ -189,7 +189,6 @@
<script setup lang="ts">
import { ref, computed, onMounted } from 'vue'
import Input from '../Input.vue'
import { Button } from '../Button'
import Popover from '../Popover.vue'
import FeatherIcon from '../FeatherIcon.vue'
Expand Down
4 changes: 2 additions & 2 deletions src/components/ListView/ListHeaderItem.vue
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<template>
<div
ref="columnRef"
class="group flex items-center"
class="group relative flex items-center"
:class="item.align ? alignmentMap[item.align] : 'justify-between'"
>
<div
Expand All @@ -18,7 +18,7 @@
</div>
<slot v-if="list.options.resizeColumn" name="resizer" v-bind="{ item }">
<div
class="flex h-4 w-2 cursor-col-resize justify-center"
class="flex h-4 absolute -right-2 w-2 cursor-col-resize justify-center"
@mousedown="startResizing"
>
<div
Expand Down
10 changes: 5 additions & 5 deletions src/components/Select.vue
Original file line number Diff line number Diff line change
Expand Up @@ -108,10 +108,10 @@ const fontSizeClasses = computed(() => {
const paddingClasses = computed(() => {
return {
sm: 'px-2',
md: 'px-2.5',
lg: 'px-3',
xl: 'px-3',
sm: 'pl-2 pr-5',
md: 'pl-2.5 pr-5.5',
lg: 'pl-3 pr-6',
xl: 'pl-3 pr-6',
}[props.size]
})
Expand Down Expand Up @@ -146,7 +146,7 @@ const selectClasses = computed(() => {
paddingClasses.value,
variantClasses,
textColor.value,
'transition-colors w-full py-0',
'transition-colors w-full py-0 truncate',
]
})
Expand Down

0 comments on commit 2558599

Please sign in to comment.