mirror of
https://github.com/frappe/books.git
synced 2025-01-22 22:58:28 +00:00
Updated the layout of checkbox
This commit is contained in:
parent
c8d2edd188
commit
ee42005d87
@ -35,7 +35,7 @@
|
|||||||
width="14"
|
width="14"
|
||||||
height="14"
|
height="14"
|
||||||
viewBox="0 0 14 14"
|
viewBox="0 0 14 14"
|
||||||
fill="none"
|
:fill="offColor"
|
||||||
xmlns="http://www.w3.org/2000/svg"
|
xmlns="http://www.w3.org/2000/svg"
|
||||||
>
|
>
|
||||||
<rect
|
<rect
|
||||||
@ -44,7 +44,7 @@
|
|||||||
width="13"
|
width="13"
|
||||||
height="13"
|
height="13"
|
||||||
rx="3.5"
|
rx="3.5"
|
||||||
:stroke="color"
|
:stroke="offBorderColor"
|
||||||
/>
|
/>
|
||||||
</svg>
|
</svg>
|
||||||
|
|
||||||
@ -71,7 +71,11 @@ export default {
|
|||||||
name: 'Check',
|
name: 'Check',
|
||||||
extends: Base,
|
extends: Base,
|
||||||
data() {
|
data() {
|
||||||
return { color: '#A1ABB4' };
|
return {
|
||||||
|
offBorderColor: 'rgba(17, 43, 66, 0.201322)',
|
||||||
|
offColor: '#FFFFFF',
|
||||||
|
color: '#2490EF'
|
||||||
|
};
|
||||||
},
|
},
|
||||||
computed: {
|
computed: {
|
||||||
inputClasses() {
|
inputClasses() {
|
||||||
|
@ -22,12 +22,12 @@
|
|||||||
class="w-40 ml-2 first:ml-0"
|
class="w-40 ml-2 first:ml-0"
|
||||||
:class="
|
:class="
|
||||||
df.fieldtype === 'Check' &&
|
df.fieldtype === 'Check' &&
|
||||||
'flex justify-between items-center bg-gray-100 px-2 overflow-scroll rounded'
|
'flex justify-start items-center px-2 rounded'
|
||||||
"
|
"
|
||||||
v-for="df in report.filterFields"
|
v-for="df in report.filterFields"
|
||||||
:key="df.fieldname"
|
:key="df.fieldname"
|
||||||
>
|
>
|
||||||
<div v-if="df.fieldtype === 'Check'" class="text-sm">
|
<div v-if="df.fieldtype === 'Check'" class="text-sm mr-2">
|
||||||
{{ df.label }}
|
{{ df.label }}
|
||||||
</div>
|
</div>
|
||||||
<FormControl
|
<FormControl
|
||||||
|
Loading…
x
Reference in New Issue
Block a user