Skip to content

Commit e71bb77

Browse files
committed
Fixed some styles error.
1 parent 0c49349 commit e71bb77

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

src/components/layout/list/ColumnFixed.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ export function setFixedColumnStyles(styles: any, colIdx: number, columnsConf: C
3636
styles.left = columnsConf.slice(0, colIdx).reduce((count, col) => count + col.width, 0) + 'px'
3737
if (fixedColumnIdx == colIdx) {
3838
// class: base-300
39-
styles.borderRight = '3px solid hsl(var(--b3))'
39+
styles.borderRight = '3px solid oklch(var(--b3))'
4040
}
4141
} else {
4242
styles.position = 'static'

src/components/layout/list/ColumnResize.vue

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,7 @@ onMounted(() => {
2323
dragDiv.style.cursor = 'ew-resize'
2424
const subDragDiv = document.createElement('div')
2525
subDragDiv.style.flex = '1'
26-
// class: base-300
27-
subDragDiv.style.backgroundColor = 'hsl(var(--b3))'
26+
subDragDiv.classList.add('bg-base-300')
2827
dragDiv.appendChild(subDragDiv)
2928
listHeaderEle.appendChild(dragDiv)
3029
@@ -79,4 +78,4 @@ onMounted(() => {
7978
})
8079
</script>
8180

82-
<template></template>
81+
<template></template>

0 commit comments

Comments
 (0)