2
0
mirror of https://github.com/frappe/books.git synced 2024-11-10 07:40:55 +00:00

fix(ui): chevron display and readOnly color

This commit is contained in:
18alantom 2022-04-27 14:12:18 +05:30
parent 371cda82b3
commit 22609711bc
2 changed files with 3 additions and 1 deletions

View File

@ -39,6 +39,7 @@
@keydown.esc="toggleDropdown(false)"
/>
<svg
v-if="!isReadOnly"
class="w-3 h-3"
style="background: inherit; margin-right: -3px"
viewBox="0 0 5 10"

View File

@ -60,7 +60,8 @@ export default {
'px-2 py-1': this.size === 'small',
'pointer-events-none': this.isReadOnly,
},
'focus:outline-none focus:bg-gray-200 rounded w-full text-gray-900 placeholder-gray-400',
'focus:outline-none focus:bg-gray-200 rounded w-full placeholder-gray-400',
this.isReadOnly ? 'text-gray-800' : 'text-gray-900',
];
return this.getInputClassesFromProp(classes);