From ccc0c17e04ad9f1a76d3f7cfd794400d1f173bb3 Mon Sep 17 00:00:00 2001 From: David Cook Date: Wed, 29 Nov 2023 15:22:06 +1100 Subject: [PATCH] Hide value of disabled input in popout I'm not sure if we want to do this on all fields, so just scoped it here for now. --- app/webpacker/css/admin/products_v3.scss | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/app/webpacker/css/admin/products_v3.scss b/app/webpacker/css/admin/products_v3.scss index 3eba3b7179..6416645b3d 100644 --- a/app/webpacker/css/admin/products_v3.scss +++ b/app/webpacker/css/admin/products_v3.scss @@ -130,7 +130,7 @@ font-size: inherit; font-weight: inherit; - &:not(:focus):not(.changed) { + &:not(:focus):not(.changed):not([disabled]) { border-color: transparent; } } @@ -341,6 +341,10 @@ .field:last-child { margin-bottom: 0; } + + input[disabled] { + color: transparent; // hide value completely + } } } }