diff options
| author | jackyzha0 <[email protected]> | 2021-03-06 09:44:00 -0800 |
|---|---|---|
| committer | jackyzha0 <[email protected]> | 2021-03-06 09:44:00 -0800 |
| commit | cf59188dff4526a358d0386f8113f542e24fffc2 (patch) | |
| tree | 79eff89e90909c2391b0fa6eb7e81695d7c88413 /frontend/src/components/NewPaste.js | |
| parent | button styling (diff) | |
| download | ctrl-v-cf59188dff4526a358d0386f8113f542e24fffc2.tar.xz ctrl-v-cf59188dff4526a358d0386f8113f542e24fffc2.zip | |
add more css mixins
Diffstat (limited to 'frontend/src/components/NewPaste.js')
| -rw-r--r-- | frontend/src/components/NewPaste.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/frontend/src/components/NewPaste.js b/frontend/src/components/NewPaste.js index f741c7e..419f39d 100644 --- a/frontend/src/components/NewPaste.js +++ b/frontend/src/components/NewPaste.js @@ -128,6 +128,7 @@ const NewPaste = () => { label="title" onChange={(e) => {setTitle(e.target.value)}} value={title} + autoFocus maxLength="100" id="titleInput" /> {renderPreview()} @@ -140,7 +141,6 @@ const NewPaste = () => { onExpiryChange={(e) => { setExpiry(e.target.value) }} /> <SubmitButton type="submit" value="new paste" /> <Button - className="lt-shadow lt-hover" type="button" onClick={() => setIsPreview(!isPreview)}> preview |