This commit is contained in:
2024-05-21 18:52:35 +02:00
parent 8bcbf3bd1d
commit b19ef017d6
3 changed files with 8 additions and 6 deletions

View File

@@ -25,9 +25,11 @@ const isOpen = useVModel(props, 'open', emit, {passive: true});
<slot name="header" /> <slot name="header" />
</div> </div>
<div v-if="isOpen" class="m-auto"> <div v-if="isOpen" class="m-auto">
<div class="z-10 absolute"> <div class="z-10 relative">
<div class="absolute">
<slot /> <slot />
</div> </div>
</div> </div>
</div> </div>
</div>
</template> </template>

View File

@@ -61,7 +61,7 @@ div.table-container {
@apply sticky z-10; @apply sticky z-10;
top: -1px; top: -1px;
} }
tr, tr>td { >*>tr, >*>tr>td {
height: v-bind(itemHeightStyle); height: v-bind(itemHeightStyle);
} }
} }

View File

@@ -64,9 +64,9 @@ watchEffect(async () => {
</thead> </thead>
<tbody> <tbody>
<tr :class="lineColor"> <tr :class="lineColor">
<td class="text-right">{{ formatIsk(q1) }}</td> <td class="text-right text-nowrap">{{ formatIsk(q1) }}</td>
<td class="text-right">{{ formatIsk(median) }}</td> <td class="text-right text-nowrap">{{ formatIsk(median) }}</td>
<td class="text-right">{{ formatIsk(q3) }}</td> <td class="text-right text-nowrap">{{ formatIsk(q3) }}</td>
</tr> </tr>
</tbody> </tbody>
</table> </table>