mirror of
https://gitee.com/sui-feng-cb/AzurLaneAutoScript1
synced 2026-04-05 09:40:59 +08:00
Add: CSS for readonly field
This commit is contained in:
@@ -135,6 +135,11 @@ label {
|
||||
height: auto !important;
|
||||
}
|
||||
|
||||
.form-control[readonly] {
|
||||
pointer-events: none;
|
||||
border-bottom-color: transparent;
|
||||
}
|
||||
|
||||
.form-control:focus {
|
||||
border-color: unset;
|
||||
}
|
||||
|
||||
@@ -176,7 +176,6 @@ class ConfigGenerator:
|
||||
if isinstance(v, dict):
|
||||
deep_default(v, keys='type', value='hide')
|
||||
for arg_k, arg_v in v.items():
|
||||
print(p + [arg_k], arg_v)
|
||||
deep_set(data, keys=p + [arg_k], value=arg_v)
|
||||
else:
|
||||
deep_set(data, keys=p + ['value'], value=v)
|
||||
|
||||
Reference in New Issue
Block a user