mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-01-24 20:36:49 +00:00
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.
This commit is contained in:
@@ -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
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user