summaryrefslogtreecommitdiff
path: root/web/source/settings/components/form-fields.jsx
diff options
context:
space:
mode:
authorLibravatar f0x52 <f0x@cthu.lu>2022-11-08 17:51:44 +0100
committerLibravatar GitHub <noreply@github.com>2022-11-08 17:51:44 +0100
commiteb25739c340b2c541e37422c2df1ef7b5c4de0f5 (patch)
tree03b21d945f1f95ad9acf56d5bb7c3d6b45642021 /web/source/settings/components/form-fields.jsx
parent[chore]: Bump github.com/spf13/viper from 1.13.0 to 1.14.0 (#1003) (diff)
downloadgotosocial-eb25739c340b2c541e37422c2df1ef7b5c4de0f5.tar.xz
[frontend] Custom Emoji Deletion (#994)
* re-add eslint * fix oauth url getting too long * actually attach single emoji get and delete routes * basic emoji details + deletion using rtk query * refactor emoji upload to rtk query * clean up old redux api+reducers for custom emoji * fix validation order * refactor custom emoji form fields * remove unused requires * cleanup, fix most eslint errors * more small eslint fixes * fix max emoji size * tiny bit of function documentation
Diffstat (limited to 'web/source/settings/components/form-fields.jsx')
-rw-r--r--web/source/settings/components/form-fields.jsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/web/source/settings/components/form-fields.jsx b/web/source/settings/components/form-fields.jsx
index cb402c3b2..6393b1d5c 100644
--- a/web/source/settings/components/form-fields.jsx
+++ b/web/source/settings/components/form-fields.jsx
@@ -119,7 +119,7 @@ module.exports = {
field = (
<>
<label htmlFor={id} className="file-input button">Browse</label>
- <span>
+ <span className="form-info">
{file ? file.name : "no file selected"} {size}
</span>
{/* <a onClick={removeFile("header")}>remove</a> */}