Skip to content

Commit

Permalink
Merge pull request #1859 from zeitgeistpm/staging
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] authored Oct 6, 2023
2 parents 656d5aa + 3a5fc54 commit 1a9d318
Show file tree
Hide file tree
Showing 6 changed files with 16 additions and 18 deletions.
6 changes: 1 addition & 5 deletions components/markets/market-card/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -126,11 +126,7 @@ const MarketCardDetails = ({
day: "numeric",
})}`}
</span>
{isEnding() && (
<span>
<span className="text-red">Ends Soon</span>
</span>
)}
{isEnding() && <span className="text-red ml-1">Ends Soon</span>}
<span className="font-semibold border-l-1 border-l-black pl-1 ml-1 ">
{rows.outcomes} outcomes{" "}
</span>
Expand Down
2 changes: 1 addition & 1 deletion components/portfolio/Breakdown.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ export type PortfolioBreakdownProps =
*/
export const PortfolioBreakdown = (props: PortfolioBreakdownProps) => {
return (
<div className="flex flex-col md:flex-row justify-center gap-y-[30px]">
<div className="flex flex-col md:flex-row gap-y-[30px]">
<div className="flex w-full max-w-[600px] md:border-r-2 md:border-gray-200">
<div className="flex-1 border-r-2 border-gray-200">
{"loading" in props ? (
Expand Down
2 changes: 1 addition & 1 deletion components/ui/SubTabsList.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { Tab } from "@headlessui/react";

const SubTabsList = ({ titles }: { titles: string[] }) => {
return (
<Tab.List className="flex center mb-10 border-b-1 border-sky-200 py-3">
<Tab.List className="flex mb-10 border-b-1 border-sky-200 py-3">
{titles.map((title, index) => (
<Tab className="px-4" key={index}>
{({ selected }) => (
Expand Down
2 changes: 1 addition & 1 deletion pages/leaderboard/[period].tsx
Original file line number Diff line number Diff line change
Expand Up @@ -590,7 +590,7 @@ const Leaderboard: NextPage<{
</Link>
))}
</div>
<Table columns={columns} data={tableData} />
<Table columns={columns} data={tableData} showHighlight={false} />
{/* {trendingMarkets.length > 0 && (
<div className="my-[60px]">
<MarketScroll
Expand Down
10 changes: 6 additions & 4 deletions pages/markets/[marketid].tsx
Original file line number Diff line number Diff line change
Expand Up @@ -341,10 +341,12 @@ const Market: NextPage<MarketPageProps> = ({
<QuillViewer value={indexedMarket.description} />
</>
)}
<PoolDeployer
marketId={Number(marketid)}
onPoolDeployed={handlePoolDeployed}
/>
{market && !market.pool && (
<PoolDeployer
marketId={Number(marketid)}
onPoolDeployed={handlePoolDeployed}
/>
)}
</div>

<AddressDetails title="Oracle" address={indexedMarket.oracle} />
Expand Down
12 changes: 6 additions & 6 deletions styles/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -259,30 +259,30 @@ tr td:first-child {
box-shadow: 0px 45px 112px 0px #0000000f;
}

#leaderboard table tbody tr:nth-child(1) {
#leaderboard table tbody tr:nth-child(1) td:first-child {
background: rgb(197, 176, 78);
background: linear-gradient(
90deg,
rgba(197, 176, 78, 1) 0%,
rgba(255, 255, 255, 1) 10%
rgba(255, 255, 255, 1) 100%
);
}

#leaderboard table tbody tr:nth-child(2) {
#leaderboard table tbody tr:nth-child(2) td:first-child {
background: rgb(183, 193, 201);
background: linear-gradient(
90deg,
rgba(183, 193, 201, 1) 0%,
rgba(255, 255, 255, 1) 10%
rgba(255, 255, 255, 1) 100%
);
}

#leaderboard table tbody tr:nth-child(3) {
#leaderboard table tbody tr:nth-child(3) td:first-child {
background: rgb(173, 138, 86);
background: linear-gradient(
90deg,
rgba(173, 138, 86, 1) 0%,
rgba(255, 255, 255, 1) 10%
rgba(255, 255, 255, 1) 100%
);
}

Expand Down

0 comments on commit 1a9d318

Please sign in to comment.