ui fix
This commit is contained in:
parent
a19288a942
commit
dc6d1d2f05
@ -8,6 +8,14 @@
|
|||||||
export { className as class };
|
export { className as class };
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<tbody class={cn("[&_tr:last-child]:border-0", className)} {...$$restProps}>
|
<tbody class={cn("[&_tr:last-child]:border-0 scroller", className)} {...$$restProps}>
|
||||||
<slot />
|
<slot />
|
||||||
</tbody>
|
</tbody>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<style>
|
||||||
|
.scroller {
|
||||||
|
scrollbar-width: thin;
|
||||||
|
}
|
||||||
|
</style>
|
||||||
@ -458,7 +458,7 @@ const optionCompanySpread = {
|
|||||||
</Card.Title>
|
</Card.Title>
|
||||||
</Card.Header>
|
</Card.Header>
|
||||||
<Card.Content class="grid gap-y-4">
|
<Card.Content class="grid gap-y-4">
|
||||||
<Table.Root class="overflow-x-scroll w-full no-scrollbar">
|
<Table.Root class="overflow-x-scroll w-full">
|
||||||
<Table.Header>
|
<Table.Header>
|
||||||
<Table.Row>
|
<Table.Row>
|
||||||
<Table.Head class="text-white">Rank</Table.Head>
|
<Table.Head class="text-white">Rank</Table.Head>
|
||||||
@ -532,22 +532,21 @@ const optionCompanySpread = {
|
|||||||
</div>
|
</div>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
<style>
|
<style>
|
||||||
|
.app {
|
||||||
|
height: 150px;
|
||||||
|
max-width: 100%; /* Ensure chart width doesn't exceed the container */
|
||||||
|
|
||||||
.app {
|
}
|
||||||
height: 150px;
|
|
||||||
max-width: 100%; /* Ensure chart width doesn't exceed the container */
|
|
||||||
|
|
||||||
}
|
@media (max-width: 640px) {
|
||||||
|
.app {
|
||||||
|
height: 120px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
@media (max-width: 640px) {
|
.chart {
|
||||||
.app {
|
width: 100%;
|
||||||
height: 120px;
|
}
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
.chart {
|
</style>
|
||||||
width: 100%;
|
|
||||||
}
|
|
||||||
|
|
||||||
</style>
|
|
||||||
Loading…
x
Reference in New Issue
Block a user