Skip to content

Commit

Permalink
Rework hiding search icon in readonly mode
Browse files Browse the repository at this point in the history
  • Loading branch information
myieye committed Jan 13, 2025
1 parent 115b10a commit 3ba1768
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
5 changes: 2 additions & 3 deletions frontend/viewer/src/lib/entry-editor/field.postcss
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,8 @@
cursor: text;
}

.append {
display: none;
}
.append, .prepend {
display: none;
}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
value={editorValue}
disabled={readonly}
options={sortedOptions}
icon={readonly ? undefined : mdiMagnify}
icon={mdiMagnify}
formatSelected={({ value, options }) => {
return (preserveOrder
// sorted by order of selection
Expand Down

0 comments on commit 3ba1768

Please sign in to comment.