File tree Expand file tree Collapse file tree 3 files changed +8
-5
lines changed
Expand file tree Collapse file tree 3 files changed +8
-5
lines changed Original file line number Diff line number Diff line change 11<script lang =" ts" >
2+ import clsx from ' clsx' ;
3+
24 interface Props {
5+ className? : string ;
36 children? : import (' svelte' ).Snippet ;
47 }
58
6- let { children }: Props = $props ();
9+ let { children, className }: Props = $props ();
710 </script >
811
9- <div id =" sidebar" class =" flex h-full w-1/3 flex-col place-content-stretch gap-4 2xl:w-1/4" >
12+ <div id ="sidebar" class ={ clsx ( " flex h-full w-1/3 flex-col place-content-stretch gap-4 2xl:w-1/4" , className )} >
1013 {@render children ?.()}
1114</div >
Original file line number Diff line number Diff line change 2525 const grandfatheringColor = ' text-gray-400' ;
2626 </script >
2727
28- <div class =" rounded px-12 py-8 " >
29- <table class =" prose w-full max-w-none table-auto " >
28+ <div class =" rounded px-12 py-6 " >
29+ <table class =" prose w-full max-w-none table-fixed " >
3030 <thead >
3131 <tr >
3232 <th >Allocation method</th >
Original file line number Diff line number Diff line change 139139 </script >
140140
141141<div class =" flex h-full flex-row gap-4" >
142- <Sidebar >
142+ <Sidebar className = " min-w-fit " >
143143 <GlobalBudgetCard
144144 remaining ={data .global .budget .remaining }
145145 relative ={data .global .budget .relative }
You can’t perform that action at this time.
0 commit comments