fix css
This commit is contained in:
@@ -34,6 +34,11 @@ const scrollBarTop = computed(() => {
|
|||||||
|
|
||||||
return h + 'px';
|
return h + 'px';
|
||||||
})
|
})
|
||||||
|
const itemHeightStyle = computed(() => {
|
||||||
|
const h = props.itemHeight ?? 0;
|
||||||
|
|
||||||
|
return h + 'px';
|
||||||
|
})
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<template>
|
<template>
|
||||||
@@ -60,5 +65,8 @@ div.table-container {
|
|||||||
&::-webkit-scrollbar-track {
|
&::-webkit-scrollbar-track {
|
||||||
margin-top: v-bind(scrollBarTop);
|
margin-top: v-bind(scrollBarTop);
|
||||||
}
|
}
|
||||||
|
:deep(tr), :deep(tr>td) {
|
||||||
|
height: v-bind(itemHeightStyle);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
@@ -184,7 +184,4 @@ const getLineColor = (result: Result) => {
|
|||||||
div.end {
|
div.end {
|
||||||
@apply justify-self-end ms-2;
|
@apply justify-self-end ms-2;
|
||||||
}
|
}
|
||||||
tr {
|
|
||||||
height: 33px;
|
|
||||||
}
|
|
||||||
</style>
|
</style>
|
||||||
@@ -163,7 +163,4 @@ const getLineColor = (result: Result) => {
|
|||||||
div.end {
|
div.end {
|
||||||
@apply justify-self-end ms-2;
|
@apply justify-self-end ms-2;
|
||||||
}
|
}
|
||||||
tr {
|
|
||||||
height: 33px;
|
|
||||||
}
|
|
||||||
</style>
|
</style>
|
||||||
Reference in New Issue
Block a user