Skip to content

Commit

Permalink
Fix DateField style (#1424)
Browse files Browse the repository at this point in the history
  • Loading branch information
takurinton committed Sep 21, 2023
1 parent 44fc683 commit bd6528e
Show file tree
Hide file tree
Showing 7 changed files with 13 additions and 11 deletions.
5 changes: 5 additions & 0 deletions .changeset/spotty-buttons-laugh.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"ingred-ui": patch
---

remove overflow scroll in Input
1 change: 0 additions & 1 deletion src/components/DateField/DateField/styled.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ export const InputContainer = styled.div<{
${({ theme, error }) =>
error ? theme.palette.danger.main : theme.palette.divider};
border-radius: ${({ theme }) => theme.radius}px;
overflow: scroll;
/* MEMO: To take a place that display LastPass icon. */
background-position: calc(100% - 35px) 50% !important;
&:focus {
Expand Down
1 change: 0 additions & 1 deletion src/components/DateField/DateRangeField/styled.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ export const InputContainer = styled.div<{
${({ theme, error }) =>
error ? theme.palette.danger.main : theme.palette.divider};
border-radius: ${({ theme }) => theme.radius}px;
overflow: scroll;
/* MEMO: To take a place that display LastPass icon. */
background-position: calc(100% - 35px) 50% !important;
&:focus {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,15 @@
exports[`Input component testing Input 1`] = `
<DocumentFragment>
<input
class="sc-bczRLJ enKlYT"
class="sc-bczRLJ iPYcpZ"
/>
</DocumentFragment>
`;

exports[`Input component testing Input disabled 1`] = `
<DocumentFragment>
<input
class="sc-bczRLJ enKlYT"
class="sc-bczRLJ iPYcpZ"
disabled=""
/>
</DocumentFragment>
Expand All @@ -20,15 +20,15 @@ exports[`Input component testing Input disabled 1`] = `
exports[`Input component testing Input error 1`] = `
<DocumentFragment>
<input
class="sc-bczRLJ jQCsqu"
class="sc-bczRLJ jmKQCE"
/>
</DocumentFragment>
`;

exports[`Input component testing Input multiline 1`] = `
<DocumentFragment>
<textarea
class="sc-bczRLJ enKlYT"
class="sc-bczRLJ iPYcpZ"
/>
</DocumentFragment>
`;
1 change: 0 additions & 1 deletion src/components/Input/styled.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ export const Input = styled.input<{
border-radius: ${({ theme }) => theme.radius}px;
border-color: ${({ theme, isError }) =>
isError ? theme.palette.danger.main : theme.palette.divider};
overflow: scroll;
resize: ${({ resize }) => resize};
/* MEMO: To take a place that display LastPass icon. */
background-position: calc(100% - 35px) 50% !important;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ exports[`MultipleFilter component testing MultipleFilter 1`] = `
class="sc-gsnTZi fYzzyW"
>
<input
class="sc-bjUoiL dthDZr"
class="sc-bjUoiL bAfDWx"
placeholder="Add a new filter"
readonly=""
type="text"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ exports[`TextField component testing TextField 1`] = `
class="sc-gsnTZi iTnnSW"
>
<input
class="sc-jSMfEi cNRsja"
class="sc-jSMfEi cfVjjk"
/>
</div>
</div>
Expand All @@ -25,7 +25,7 @@ exports[`TextField component testing TextField passward 1`] = `
class="sc-gsnTZi jTsXKF"
>
<input
class="sc-jSMfEi cNRsja"
class="sc-jSMfEi cfVjjk"
type="password"
/>
<div
Expand Down Expand Up @@ -87,7 +87,7 @@ exports[`TextField component testing TextField with icon 1`] = `
</span>
</div>
<input
class="sc-jSMfEi cNRsja"
class="sc-jSMfEi cfVjjk"
/>
</div>
</div>
Expand Down

0 comments on commit bd6528e

Please sign in to comment.