Skip to content
This repository has been archived by the owner on Mar 13, 2024. It is now read-only.

Commit

Permalink
MM-14692 - Updating css code for placeholder (#2586)
Browse files Browse the repository at this point in the history
MM-14692 - Updating css code for placeholder
  • Loading branch information
asaadmahmood authored and hanzei committed Apr 2, 2019
1 parent 43619dc commit e3dff4e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions components/__snapshots__/autosize_textarea.test.jsx.snap
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@ exports[`components/AutosizeTextarea should match snapshot, init 1`] = `
Object {
"opacity": 0.5,
"overflow": "hidden",
"pointer-events": "none",
"pointerEvents": "none",
"position": "absolute",
"textOverflow": "ellipsis",
"white-space": "nowrap",
"whiteSpace": "nowrap",
}
}
/>
Expand Down
2 changes: 1 addition & 1 deletion components/autosize_textarea.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -168,5 +168,5 @@ export default class AutosizeTextarea extends React.Component {
const style = {
container: {height: 0, overflow: 'hidden'},
reference: {height: 'auto', width: '100%'},
placeholder: {overflow: 'hidden', textOverflow: 'ellipsis', opacity: 0.5, 'pointer-events': 'none', position: 'absolute', 'white-space': 'nowrap'},
placeholder: {overflow: 'hidden', textOverflow: 'ellipsis', opacity: 0.5, pointerEvents: 'none', position: 'absolute', whiteSpace: 'nowrap'},
};

0 comments on commit e3dff4e

Please sign in to comment.