Skip to content

Commit 26273b2

Browse files
committed
chore: navbar color change, hero color updates, margin touches
1 parent c441959 commit 26273b2

File tree

7 files changed

+51
-51
lines changed

7 files changed

+51
-51
lines changed

web/src/assets/svgs/hero/hero-darkmode-desktop.svg

Lines changed: 41 additions & 42 deletions
Loading

web/src/assets/svgs/hero/hero-darkmode-mobile.svg

Lines changed: 4 additions & 4 deletions
Loading

web/src/components/DisputePreview/DisputeContext.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,10 +64,11 @@ interface IDisputeContext {
6464

6565
export const DisputeContext: React.FC<IDisputeContext> = ({ disputeDetails, isRpcError = false }) => {
6666
const errMsg = isRpcError ? RPC_ERROR : INVALID_DISPUTE_DATA_ERROR;
67+
6768
return (
6869
<>
6970
<StyledH1>{isUndefined(disputeDetails) ? <StyledSkeleton /> : (disputeDetails?.title ?? errMsg)}</StyledH1>
70-
{!isUndefined(disputeDetails) ? (
71+
{disputeDetails?.question?.trim() || disputeDetails?.description?.trim() ? (
7172
<QuestionAndDescriptionWrapper>
7273
{disputeDetails?.question?.trim() ? (
7374
<ReactMarkdownWrapper>

web/src/components/FavoriteCases.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ import DisputeView from "components/DisputeView";
1414
import { SkeletonDisputeCard } from "components/StyledSkeleton";
1515

1616
const Container = styled.div`
17-
margin-top: ${responsiveSize(48, 80)};
17+
margin-top: ${responsiveSize(24, 48)};
1818
`;
1919

2020
const Title = styled.h1`

web/src/layout/Footer/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ import { ExternalLink } from "components/ExternalLink";
1414
const Container = styled.div`
1515
height: 122px;
1616
width: 100%;
17-
background-color: ${({ theme }) => theme.primaryPurple};
17+
background-color: ${({ theme }) => (theme.name === "dark" ? theme.lightBlue : theme.primaryPurple)};
1818
display: flex;
1919
flex-direction: column;
2020
justify-content: center;

web/src/layout/Header/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ const Container = styled.div`
99
z-index: 10;
1010
top: 0;
1111
width: 100%;
12-
background-color: ${({ theme }) => theme.primaryPurple};
12+
background-color: ${({ theme }) => (theme.name === "dark" ? theme.lightBlue : theme.primaryPurple)};
1313
1414
display: flex;
1515
flex-wrap: wrap;

web/src/pages/Dashboard/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ const Container = styled.div`
3232
`;
3333

3434
const StyledCasesDisplay = styled(CasesDisplay)`
35-
margin-top: ${responsiveSize(32, 48)};
35+
margin-top: ${responsiveSize(24, 48)};
3636
3737
.title {
3838
margin-bottom: ${responsiveSize(12, 24)};

0 commit comments

Comments
 (0)