|
@@ -46,10 +46,10 @@ const styleVal = ref({})
|
|
function setStyleValue(gutter, justify, align) {
|
|
function setStyleValue(gutter, justify, align) {
|
|
const gutters = Number(gutter)
|
|
const gutters = Number(gutter)
|
|
styleVal.value['--hc-row-justify'] = justify ? justify : 'start'
|
|
styleVal.value['--hc-row-justify'] = justify ? justify : 'start'
|
|
- styleVal.value['--hu-row-align'] = align ? align : 'start'
|
|
|
|
|
|
+ styleVal.value['--hc-row-align'] = align ? align : 'start'
|
|
if (gutters !== 0) {
|
|
if (gutters !== 0) {
|
|
const num = Math.floor(gutters / -2) + (gutters % 2) + 'px'
|
|
const num = Math.floor(gutters / -2) + (gutters % 2) + 'px'
|
|
- styleVal.value['--hu-row-margin'] = num ? num : '0'
|
|
|
|
|
|
+ styleVal.value['--hc-row-margin'] = num ? num : '0'
|
|
}
|
|
}
|
|
}
|
|
}
|
|
</script>
|
|
</script>
|