From 767bb14a381f6c7b5bf27c0f17d6c86a0f42a21f Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Mon, 6 Jul 2020 11:03:05 +0200 Subject: [PATCH] Fix external user edition --- .../users/user-edit/user-edit.component.html | 22 +++++++++---------- client/src/sass/include/_mixins.scss | 4 ++++ 2 files changed, 15 insertions(+), 11 deletions(-) diff --git a/client/src/app/+admin/users/user-edit/user-edit.component.html b/client/src/app/+admin/users/user-edit/user-edit.component.html index 417bbf618..297e6104c 100644 --- a/client/src/app/+admin/users/user-edit/user-edit.component.html +++ b/client/src/app/+admin/users/user-edit/user-edit.component.html @@ -89,19 +89,19 @@ {{ formErrors.username }} - +
{{ formErrors.email }}
- +
@@ -119,7 +119,7 @@ {{ formErrors.password }}
- +
@@ -129,12 +129,12 @@
- +
{{ formErrors.role }}
- +
@@ -144,13 +144,13 @@
- +
Transcoding is enabled. The video quota only takes into account original video size.
At most, this user could upload ~ {{ computeQuotaWithTranscoding() | bytes: 0 }}.
- +
@@ -161,14 +161,14 @@
- +
- + @@ -180,7 +180,7 @@ -
+
diff --git a/client/src/sass/include/_mixins.scss b/client/src/sass/include/_mixins.scss index c6822b714..2cefaf73d 100644 --- a/client/src/sass/include/_mixins.scss +++ b/client/src/sass/include/_mixins.scss @@ -107,6 +107,10 @@ color: pvar(--inputPlaceholderColor); } + &[readonly] { + opacity: 0.7; + } + @media screen and (max-width: $width) { width: 100%; }