Skip to content

Commit

Permalink
fix(InputField): changed styles for click-through rate
Browse files Browse the repository at this point in the history
  • Loading branch information
vpsmolina committed Jan 11, 2024
1 parent 5e964ec commit 6339154
Show file tree
Hide file tree
Showing 5 changed files with 125 additions and 43 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -62,9 +62,7 @@ exports[`@lad-tech/mobydick-core/ChatInput renders correctly 1`] = `
"flexDirection": "row",
"justifyContent": "space-between",
"marginVertical": 12,
"paddingLeft": 27,
"paddingRight": 24,
"paddingVertical": 18,
},
{
"minHeight": 120,
Expand Down Expand Up @@ -97,10 +95,16 @@ exports[`@lad-tech/mobydick-core/ChatInput renders correctly 1`] = `
style={
[
{
"borderRadius": 12,
"flex": 1,
"padding": 0,
"paddingLeft": 27,
"paddingVertical": 18,
"textAlignVertical": "top",
},
{
"minHeight": 120,
},
{
"color": "#20242D",
"fontFamily": "Inter-Regular",
Expand Down Expand Up @@ -240,9 +244,7 @@ exports[`@lad-tech/mobydick-core/ChatInput renders correctly android 1`] = `
"flexDirection": "row",
"justifyContent": "space-between",
"marginVertical": 12,
"paddingLeft": 27,
"paddingRight": 24,
"paddingVertical": 18,
},
{
"minHeight": 120,
Expand Down Expand Up @@ -275,10 +277,16 @@ exports[`@lad-tech/mobydick-core/ChatInput renders correctly android 1`] = `
style={
[
{
"borderRadius": 12,
"flex": 1,
"padding": 0,
"paddingLeft": 27,
"paddingVertical": 18,
"textAlignVertical": "top",
},
{
"minHeight": 120,
},
[
{
"color": "#20242D",
Expand Down Expand Up @@ -423,9 +431,7 @@ exports[`@lad-tech/mobydick-core/ChatInput renders correctly with containerStyle
"flexDirection": "row",
"justifyContent": "space-between",
"marginVertical": 12,
"paddingLeft": 27,
"paddingRight": 24,
"paddingVertical": 18,
},
{
"minHeight": 120,
Expand Down Expand Up @@ -458,10 +464,16 @@ exports[`@lad-tech/mobydick-core/ChatInput renders correctly with containerStyle
style={
[
{
"borderRadius": 12,
"flex": 1,
"padding": 0,
"paddingLeft": 27,
"paddingVertical": 18,
"textAlignVertical": "top",
},
{
"minHeight": 120,
},
{
"color": "#20242D",
"fontFamily": "Inter-Regular",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,7 @@ exports[`@lad-tech/mobydick-core/ChatInputField renders correctly 1`] = `
"flexDirection": "row",
"justifyContent": "space-between",
"marginVertical": 12,
"paddingLeft": 27,
"paddingRight": 24,
"paddingVertical": 18,
},
{
"minHeight": 120,
Expand Down Expand Up @@ -67,10 +65,16 @@ exports[`@lad-tech/mobydick-core/ChatInputField renders correctly 1`] = `
style={
[
{
"borderRadius": 12,
"flex": 1,
"padding": 0,
"paddingLeft": 27,
"paddingVertical": 18,
"textAlignVertical": "top",
},
{
"minHeight": 120,
},
{
"color": "#20242D",
"fontFamily": "Inter-Regular",
Expand Down Expand Up @@ -124,9 +128,7 @@ exports[`@lad-tech/mobydick-core/ChatInputField renders correctly focused/blur 1
"flexDirection": "row",
"justifyContent": "space-between",
"marginVertical": 12,
"paddingLeft": 27,
"paddingRight": 24,
"paddingVertical": 18,
},
{
"minHeight": 120,
Expand Down Expand Up @@ -159,10 +161,16 @@ exports[`@lad-tech/mobydick-core/ChatInputField renders correctly focused/blur 1
style={
[
{
"borderRadius": 12,
"flex": 1,
"padding": 0,
"paddingLeft": 27,
"paddingVertical": 18,
"textAlignVertical": "top",
},
{
"minHeight": 120,
},
{
"color": "#20242D",
"fontFamily": "Inter-Regular",
Expand Down Expand Up @@ -215,9 +223,7 @@ exports[`@lad-tech/mobydick-core/ChatInputField renders correctly focused/blur 2
"flexDirection": "row",
"justifyContent": "space-between",
"marginVertical": 12,
"paddingLeft": 27,
"paddingRight": 24,
"paddingVertical": 18,
},
{
"minHeight": 120,
Expand Down Expand Up @@ -250,10 +256,16 @@ exports[`@lad-tech/mobydick-core/ChatInputField renders correctly focused/blur 2
style={
[
{
"borderRadius": 12,
"flex": 1,
"padding": 0,
"paddingLeft": 27,
"paddingVertical": 18,
"textAlignVertical": "top",
},
{
"minHeight": 120,
},
{
"color": "#20242D",
"fontFamily": "Inter-Regular",
Expand Down Expand Up @@ -306,9 +318,7 @@ exports[`@lad-tech/mobydick-core/ChatInputField renders correctly with props 1`]
"flexDirection": "row",
"justifyContent": "space-between",
"marginVertical": 12,
"paddingLeft": 27,
"paddingRight": 24,
"paddingVertical": 18,
},
{
"minHeight": 120,
Expand Down Expand Up @@ -344,10 +354,16 @@ exports[`@lad-tech/mobydick-core/ChatInputField renders correctly with props 1`]
style={
[
{
"borderRadius": 12,
"flex": 1,
"padding": 0,
"paddingLeft": 27,
"paddingVertical": 18,
"textAlignVertical": "top",
},
{
"minHeight": 120,
},
{
"color": "#20242D",
"fontFamily": "Inter-Regular",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ const InputField = forwardRef<ITextInput, IInputFieldsProps>((props, ref) => {
<TextInput
ref={ref}
testID={Constants.testID}
style={[styles.textInput, getStyle, style]}
style={[styles.textInput, getHeight(), getStyle, style]}
placeholderTextColor={theme.colors.TextMuted}
editable={!disabled}
numberOfLines={1}
Expand Down
Loading

0 comments on commit 6339154

Please sign in to comment.