Skip to content

Commit

Permalink
Hotfix: placeholder width
Browse files Browse the repository at this point in the history
  • Loading branch information
imartinezl committed Dec 8, 2020
1 parent 5fe1ec7 commit 82205d4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion docs/main.js

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions webgl/src/js/AppDesktop.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -257,7 +257,7 @@ class App extends Component {
formatter={value => `${value}π`} parser={value => value.replace('π', '')}
onChange={this.handleUMin} value={this.state.uMin / Math.PI}
/>
<Input style={{ width: 60, textAlign: 'center', pointerEvents: 'none', }} placeholder="< u <" />
<Input style={{ width: 60, textAlign: 'center', pointerEvents: 'none', }} placeholder="<u<" />
<InputNumber
style={{ textAlign: 'center', width: 70 }}
defaultValue={2} min={-100} max={100} step={0.5}
Expand All @@ -270,7 +270,7 @@ class App extends Component {
defaultValue={0} min={-100} max={100} step={0.5}
formatter={value => `${value}π`} parser={value => value.replace('π', '')}
onChange={this.handleVMin} value={this.state.vMin / Math.PI} />
<Input style={{ width: 60, textAlign: 'center', pointerEvents: 'none' }} placeholder="< v <" />
<Input style={{ width: 60, textAlign: 'center', pointerEvents: 'none' }} placeholder="<v<" />
<InputNumber
style={{ textAlign: 'center', width: 70 }}
defaultValue={2} min={-100} max={100} step={0.5}
Expand Down Expand Up @@ -313,4 +313,4 @@ class App extends Component {
}
}

export default App;
export default App;

0 comments on commit 82205d4

Please sign in to comment.