Update formatting

This commit is contained in:
Bash Elliott 2023-01-20 11:26:53 +11:00
parent c40ab4f703
commit 2c57f1403e
2 changed files with 3 additions and 3 deletions

View file

@ -61,9 +61,9 @@ function App() {
</Chat> </Chat>
<div className="picker"> <div className="picker">
<p>Fill</p> <p>Fill</p>
<SketchPicker color={fillColour} onChange={handleFillColourChange}/> <SketchPicker color={fillColour} onChange={handleFillColourChange}/>
<p>Stroke</p> <p>Stroke</p>
<SketchPicker color={strokeColour} onChange={handleStrokeColourChange}/> <SketchPicker color={strokeColour} onChange={handleStrokeColourChange}/>
</div> </div>
</div> </div>

View file

@ -42,7 +42,7 @@ const BubbleInput = ({ onChange, onSubmit, value, fillColour, strokeColour }) =>
ref={refEditable} ref={refEditable}
className="bubble-content" className="bubble-content"
contentEditable contentEditable
style={{backgroundColor: fillColour, color: strokeColour}} style={{backgroundColor: fillColour, color: strokeColour}}
spellCheck="false" spellCheck="false"
onBlur={handleBlur} onBlur={handleBlur}
onKeyDown={handleKeyDown} onKeyDown={handleKeyDown}