Skip to content

Commit

Permalink
fix padding
Browse files Browse the repository at this point in the history
  • Loading branch information
aboveyunhai committed Mar 19, 2024
1 parent dc0e91f commit 37014f2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/range.tsx
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
import React, { useRef, useState } from 'react';
import React, { useState } from 'react';
import { Props as DayzedHookProps } from 'dayzed';
import { Month_Names_Short, Weekday_Names_Short } from './utils/calanderUtils';
import {
Button,
Flex,
Input,
InputProps,
Popover,
PopoverAnchor,
PopoverBody,
Expand Down Expand Up @@ -235,6 +234,7 @@ export const RangeDatepicker: React.FC<RangeDatepickerProps> = (props) => {
}}
autoComplete="off"
width={'16rem'}
paddingRight={'2.5rem'}
isDisabled={disabled}
name={name}
value={intVal}
Expand Down
4 changes: 2 additions & 2 deletions src/single.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import React, { useEffect, useMemo, useState } from 'react';
import React, { useEffect, useState } from 'react';
import {
Box,
Button,
ButtonProps,
Flex,
Expand Down Expand Up @@ -203,6 +202,7 @@ export const SingleDatepicker: React.FC<SingleDatepickerProps> = (props) => {
name={name}
value={tempInput}
onChange={handleInputChange}
paddingRight={'2.5rem'}
{...propsConfigs?.inputProps}
/>
</PopoverAnchor>
Expand Down

0 comments on commit 37014f2

Please sign in to comment.