Skip to content

Commit

Permalink
Corrected all look issues
Browse files Browse the repository at this point in the history
  • Loading branch information
anoopkarnik committed Jul 12, 2024
1 parent b9ea22d commit 7ea43b3
Show file tree
Hide file tree
Showing 8 changed files with 10 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ const Account = ({showFilters}:any) => {
const dbId = connectionsContext?.notionNode?.accountsDb?.id

return (
<div className='flex flex-col w-full'>
<div className='flex flex-col w-[95%] mx-[2.5%] '>
<NotionTable showFilters={showFilters} dbId={dbId}/>
</div>
)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ const BudgetPlan = ({showFilters}:any) => {
const dbId = connectionsContext?.notionNode?.budgetPlanDb?.id

return (
<div className='flex flex-col w-full '>
<div className='flex flex-col w-[95%] mx-[2.5%] '>
<NotionTable showFilters={showFilters} dbId={dbId}/>
</div>
)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ const FinancialGoals = ({showFilters}:any) => {
const dbId = connectionsContext?.notionNode?.financialGoalsDb?.id

return (
<div className='flex flex-col w-full '>
<div className='flex flex-col w-[95%] mx-[2.5%] '>
<NotionTable showFilters={showFilters} dbId={dbId}/>
</div>
)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ const FinancialPage = () => {

if (isMobile){
return (
<div className='flex flex-col items-center w-full m-6'>
<div className='flex flex-col items-center w-full my-6'>
<Select onValueChange={handleSelect}>
<SelectTrigger className='my-4 mx-8 w-[200px]'>
<div>{selectedValue}</div>
Expand Down Expand Up @@ -54,7 +54,7 @@ const FinancialPage = () => {
}

return (
<Tabs className='mx-4 w-full' defaultValue='overview'>
<Tabs className='w-full' defaultValue='overview'>
<TabsList className='flex items-center justify-start flex-wrap rounded-none my-4 gap-4 bg-inherit'>
{financeItems.map((item:any) =>(
<TabsTrigger key={item.title} value={item.title} className='flex gap-1 border-b-2 shadow-md shadow-border/10 hover:bg-accent ' >
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ const MonthlyBudget = ({showFilters}:any) => {
const dbId = connectionsContext?.notionNode?.monthlyBudgetDb?.id

return (
<div className='flex flex-col w-full'>
<div className='flex flex-col w-[95%] mx-[2.5%] '>
<NotionTable showFilters={showFilters} dbId={dbId}/>
</div>
)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ const Overview = () => {
}

if (!accountsSummary) return (
<div className='m-6 w-full flex flex-col gap-4'>
<div className='w-[95%] mx-[2.5%] my-6 flex flex-col gap-4'>
<Skeleton className=" h-[30px] rounded-full my-2" />
<Skeleton className=" h-[30px] rounded-full my-2" />
<Skeleton className=" h-[30px] rounded-full my-2" />
Expand All @@ -123,7 +123,7 @@ const Overview = () => {
)

return (
<div className='mx-6 w-full'>
<div className='w-[95%] mx-[2.5%] '>
<Accordion type="single" collapsible className='w-full'>
<AccordionItem value="item-1">
<AccordionTrigger>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import DbSelection from './DbSelection'
const Settings = () => {

return (
<div className='m-4 flex flex-col w-full '>
<div className='my-4 flex flex-col w-[95%] mx-[2.5%] '>
<h1 className='text-2xl font-medium mb-4'>Create or Attach your Financial Notion DBs</h1>
<DbSelection title='Accounts Notion Db' name='Accounts' fieldName="accountsDb"/>
<DbSelection title='Transactions Notion Db' name='Transactions' fieldName="transactionsDb"/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ const Transactions = ({showFilters}:any) => {
const dbId = connectionsContext?.notionNode?.transactionsDb?.id

return (
<div className='flex flex-col '>
<div className='flex flex-col w-[95%] mx-[2.5%] '>
<NotionTable showFilters={showFilters} dbId={dbId}/>
</div>
)
Expand Down

0 comments on commit 7ea43b3

Please sign in to comment.