Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixed sendBox input/textarea background color issue (#2111)
* Fixed sendBox input/textarea background color issue * Updated CHANGELOG.md * Removed changes to sample
- Loading branch information
Showing
7 changed files
with
62 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file added
BIN
+6.37 KB
..._snapshots__/chrome-docker/input-js-text-area-input-background-color-1-snap.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+6.33 KB
...e_snapshots__/chrome-docker/input-js-text-box-input-background-color-1-snap.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,26 @@ | ||
export default function createSendBoxTextBoxStyle({ primaryFont, sendBoxTextColor }) { | ||
export default function createSendBoxTextBoxStyle({ | ||
primaryFont, | ||
sendBoxBackground, | ||
sendBoxPlaceholderColor, | ||
sendBoxTextColor | ||
}) { | ||
return { | ||
alignItems: 'center', | ||
fontFamily: primaryFont, | ||
|
||
'& > input': { | ||
backgroundColor: sendBoxBackground, | ||
border: 0, | ||
color: sendBoxTextColor, | ||
fontFamily: 'inherit', | ||
fontSize: 'inherit', | ||
height: '100%', | ||
outline: 0, | ||
padding: 0 | ||
padding: 0, | ||
|
||
'&::placeholder': { | ||
color: sendBoxPlaceholderColor | ||
} | ||
} | ||
}; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters