From 5a6dc1a4b800193dde62fb79bf708bcc7ffcc24c Mon Sep 17 00:00:00 2001 From: Fluffy-Bean Date: Wed, 7 Sep 2022 13:40:58 +0000 Subject: [PATCH] Switched to textareas for easier typing --- css/main.css | 4 ++++ css/main.scss | 3 +++ image.php | 26 +++++++++++++------------- upload.php | 2 +- 4 files changed, 21 insertions(+), 14 deletions(-) diff --git a/css/main.css b/css/main.css index 2c2e2ee..d975b66 100644 --- a/css/main.css +++ b/css/main.css @@ -809,6 +809,10 @@ form > * { margin-bottom: 0.5rem; } +textarea { + resize: none; +} + /* |------------------------------------------------------------- | SVG diff --git a/css/main.scss b/css/main.scss index 5790ecf..a5c1468 100644 --- a/css/main.scss +++ b/css/main.scss @@ -134,6 +134,9 @@ form { } } +textarea { + resize: none; +} /* |------------------------------------------------------------- | SVG diff --git a/image.php b/image.php index 117c4b6..bec212c 100644 --- a/image.php +++ b/image.php @@ -239,8 +239,8 @@ var header = "Are you sure?"; var description = "Deleting this image is pernament, there is no going back after this!!!!!"; var actionBox = "
\ - \ -
"; + \ + "; flyoutShow(header, description, actionBox); $("#deleteConfirm").submit(function(event) { @@ -269,9 +269,9 @@ var header = "Enter new Description/Alt"; var description = "Whatcha gonna put in there 👀"; var actionBox = "
\ - \ - \ -
"; + \ + \ + "; flyoutShow(header, description, actionBox); $('#descriptionInput').val(""); @@ -305,12 +305,12 @@ var header = "Tags"; var description = "Add image tags here! This is still being tested so your tags may be removed later on. Tags ONLY accept, letters, numbers and underscores. Hyphens will be stitched to underscores and spaces will seperate the different tags from eachother"; var actionBox = "
\ - \ - \ -
"; + \ + \ + "; flyoutShow(header, description, actionBox); - - $('#tagsInput').val(""); + + $('#tagsInput').val(""); $("#tagsConfirm").submit(function(event) { event.preventDefault(); @@ -341,9 +341,9 @@ var header = "Who owns the image?????"; var description = "Enter ID of image owner"; var actionBox = "
\ - \ - \ -
"; + \ + \ + "; flyoutShow(header, description, actionBox); $("#authorConfirm").submit(function(event) { diff --git a/upload.php b/upload.php index 636ce56..8ae8a4d 100644 --- a/upload.php +++ b/upload.php @@ -70,7 +70,7 @@
- +