about summary refs log tree commit diff
diff options
context:
space:
mode:
authorClaire <claire.github-309c@sitedethib.com>2022-10-28 12:56:32 +0200
committerClaire <claire.github-309c@sitedethib.com>2022-10-28 19:49:45 +0200
commit2cb3dd93649670019871183f5d4d6bb77e33f5ba (patch)
tree2b733452df643ff827157212e16d305fa7cb9d6e
parent047a2f1f1bb72a0cd638def175d29c12b4737a4a (diff)
[Glitch] Change admin announcement edition interface to use datetime-local
Port d9d722d74b2cb9bf30fa4cc98af6ddbeca003ebc to glitch-soc

Co-authored-by: Eugen Rochko <eugen@zeonfederated.com>
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
-rw-r--r--app/javascript/flavours/glitch/styles/forms.scss5
1 files changed, 4 insertions, 1 deletions
diff --git a/app/javascript/flavours/glitch/styles/forms.scss b/app/javascript/flavours/glitch/styles/forms.scss
index 84a87eb86..ef0ca1fcd 100644
--- a/app/javascript/flavours/glitch/styles/forms.scss
+++ b/app/javascript/flavours/glitch/styles/forms.scss
@@ -395,6 +395,7 @@ code {
   input[type=email],
   input[type=password],
   input[type=url],
+  input[type=datetime-local],
   textarea {
     box-sizing: border-box;
     font-size: 16px;
@@ -435,7 +436,8 @@ code {
   input[type=text],
   input[type=number],
   input[type=email],
-  input[type=password] {
+  input[type=password],
+  input[type=datetime-local] {
     &:focus:invalid:not(:placeholder-shown),
     &:required:invalid:not(:placeholder-shown) {
       border-color: lighten($error-red, 12%);
@@ -451,6 +453,7 @@ code {
     input[type=number],
     input[type=email],
     input[type=password],
+    input[type=datetime-local],
     textarea,
     select {
       border-color: lighten($error-red, 12%);