Skip to content

Commit

Permalink
enhancement: setting ram overview break point at lg screen
Browse files Browse the repository at this point in the history
  • Loading branch information
dafuga committed Nov 2, 2024
1 parent 78ae7e8 commit 2852054
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
2 changes: 2 additions & 0 deletions src/lib/components/chart/rampricehistory.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@
let { data }: Props = $props();
console.log({ length: data.length, first20: data.slice(0, 20), last20: data.slice(-20) });
let ctx: HTMLCanvasElement;
let chart: Chart<'line'>;
Expand Down
6 changes: 3 additions & 3 deletions src/routes/[network]/(account)/ram/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -62,8 +62,8 @@
let bytesInput: BytesInput;
</script>

<div class="flex flex-col space-y-4 p-4 text-white lg:flex-row lg:space-x-4 lg:space-y-0">
<div class="w-full space-y-4 lg:w-1/2">
<div class="flex flex-col space-y-4 p-4 text-white xl:flex-row xl:space-x-4 xl:space-y-0">
<div class="w-full space-y-4 xl:w-1/2">
<Card class="flex flex-row">
<div class="mb-4 w-1/2">
<div class="h-24">
Expand Down Expand Up @@ -176,7 +176,7 @@
</Stack>
</Card>
</div>
<div class="w-full space-y-4 lg:w-1/2">
<div class="w-full space-y-4 xl:w-1/2">
<Card class="bg-transparent p-0">
<RamPriceHistory data={data.historicalPrices} />
</Card>
Expand Down

0 comments on commit 2852054

Please sign in to comment.