Compare commits

...

2 Commits

Author SHA1 Message Date
bbad25b55b cleanup style 2024-05-21 14:57:13 +02:00
c76f4be928 fix css 2024-05-21 14:55:43 +02:00
3 changed files with 8 additions and 6 deletions

View File

@@ -34,6 +34,11 @@ const scrollBarTop = computed(() => {
return h + 'px';
})
const itemHeightStyle = computed(() => {
const h = props.itemHeight ?? 0;
return h + 'px';
})
</script>
<template>
@@ -56,6 +61,9 @@ div.table-container {
@apply sticky top-0 z-10;
top: -1px;
}
tr, tr>td {
height: v-bind(itemHeightStyle);
}
}
&::-webkit-scrollbar-track {
margin-top: v-bind(scrollBarTop);

View File

@@ -184,7 +184,4 @@ const getLineColor = (result: Result) => {
div.end {
@apply justify-self-end ms-2;
}
tr {
height: 33px;
}
</style>

View File

@@ -163,7 +163,4 @@ const getLineColor = (result: Result) => {
div.end {
@apply justify-self-end ms-2;
}
tr {
height: 33px;
}
</style>