diff --git a/web/src/components/EvidenceCard.tsx b/web/src/components/EvidenceCard.tsx index f84334695..0a328b29d 100644 --- a/web/src/components/EvidenceCard.tsx +++ b/web/src/components/EvidenceCard.tsx @@ -57,11 +57,12 @@ const IndexAndName = styled.div` display: flex; flex-direction: row; align-items: center; - gap: 6px; + gap: 5px; `; const Index = styled.p` display: inline-block; + color: ${({ theme }) => theme.secondaryText}; `; const StyledReactMarkdown = styled(ReactMarkdown)` @@ -78,7 +79,6 @@ const StyledReactMarkdown = styled(ReactMarkdown)` const BottomShade = styled.div` background-color: ${({ theme }) => theme.lightBlue}; - border-top: 1px solid ${({ theme }) => theme.stroke}; display: flex; flex-wrap: wrap; align-items: center; @@ -92,7 +92,7 @@ const BottomShade = styled.div` ${landscapeStyle( () => css` - padding: 16px 24px; + padding: 12px 24px; ` )} `; @@ -231,7 +231,7 @@ const EvidenceCard: React.FC = ({ - #{index}: + #{index}.

{name}

{name && description ? {description} :

{evidence}

} diff --git a/web/src/pages/Cases/CaseDetails/Evidence/index.tsx b/web/src/pages/Cases/CaseDetails/Evidence/index.tsx index 47746919a..e27947f27 100644 --- a/web/src/pages/Cases/CaseDetails/Evidence/index.tsx +++ b/web/src/pages/Cases/CaseDetails/Evidence/index.tsx @@ -27,7 +27,7 @@ const Container = styled.div` flex-direction: column; gap: 16px; align-items: center; - padding: 16px; + padding: 20px 16px 16px; ${landscapeStyle( () => css` diff --git a/web/src/pages/Cases/CaseDetails/Overview/index.tsx b/web/src/pages/Cases/CaseDetails/Overview/index.tsx index 8cfa1f26b..32e9cd0f6 100644 --- a/web/src/pages/Cases/CaseDetails/Overview/index.tsx +++ b/web/src/pages/Cases/CaseDetails/Overview/index.tsx @@ -25,7 +25,7 @@ const Container = styled.div` display: flex; flex-direction: column; gap: 16px; - padding: 16px; + padding: 20px 16px 16px; ${landscapeStyle( () => css` diff --git a/web/src/pages/Cases/CaseDetails/Voting/VotesDetails/AccordionTitle.tsx b/web/src/pages/Cases/CaseDetails/Voting/VotesDetails/AccordionTitle.tsx index 4eaed0799..b36e0a2a6 100644 --- a/web/src/pages/Cases/CaseDetails/Voting/VotesDetails/AccordionTitle.tsx +++ b/web/src/pages/Cases/CaseDetails/Voting/VotesDetails/AccordionTitle.tsx @@ -10,18 +10,18 @@ import { isUndefined } from "utils/index"; import { shortenAddress } from "utils/shortenAddress"; import { landscapeStyle } from "styles/landscapeStyle"; -import { responsiveSize } from "styles/responsiveSize"; const TitleContainer = styled.div` display: flex; flex-direction: column; align-items: start; - gap: ${responsiveSize(8, 12)}; + gap: 11px; flex-wrap: wrap; ${landscapeStyle( () => css` flex-direction: row; align-items: center; + gap: 12px; ` )} `; diff --git a/web/src/pages/Cases/CaseDetails/Voting/index.tsx b/web/src/pages/Cases/CaseDetails/Voting/index.tsx index e73094054..8b9146292 100644 --- a/web/src/pages/Cases/CaseDetails/Voting/index.tsx +++ b/web/src/pages/Cases/CaseDetails/Voting/index.tsx @@ -28,7 +28,7 @@ import Classic from "./Classic"; import VotingHistory from "./VotingHistory"; const Container = styled.div` - padding: 16px; + padding: 20px 16px 16px; ${landscapeStyle( () => css` diff --git a/web/src/pages/Home/CourtOverview/BarChart.tsx b/web/src/pages/Home/CourtOverview/BarChart.tsx index 647a863c9..82b7af9b4 100644 --- a/web/src/pages/Home/CourtOverview/BarChart.tsx +++ b/web/src/pages/Home/CourtOverview/BarChart.tsx @@ -21,7 +21,6 @@ const formatter = new Intl.NumberFormat("en", { notation: "compact" }); const BarContainer = styled.div` height: 220px; - margin-top: 16px; `; ChartJS.register(BarElement); diff --git a/web/src/pages/Home/CourtOverview/Chart.tsx b/web/src/pages/Home/CourtOverview/Chart.tsx index 94cf8f3bb..8152d4521 100644 --- a/web/src/pages/Home/CourtOverview/Chart.tsx +++ b/web/src/pages/Home/CourtOverview/Chart.tsx @@ -20,6 +20,7 @@ const Container = styled.div` margin-bottom: ${responsiveSize(16, 32)}; display: flex; flex-direction: column; + gap: 16px; `; const StyledDropdown = styled(DropdownSelect)` diff --git a/web/src/pages/Home/CourtOverview/TimeSeriesChart.tsx b/web/src/pages/Home/CourtOverview/TimeSeriesChart.tsx index 594f6efb9..bdfd07d6d 100644 --- a/web/src/pages/Home/CourtOverview/TimeSeriesChart.tsx +++ b/web/src/pages/Home/CourtOverview/TimeSeriesChart.tsx @@ -16,7 +16,6 @@ import "chartjs-adapter-moment"; const LineContainer = styled.div` height: 220px; - margin-top: 16px; `; ChartJS.register(CategoryScale, LinearScale, PointElement, LineElement, TimeScale, Tooltip); diff --git a/web/src/pages/Home/TopJurors/Header/MobileHeader.tsx b/web/src/pages/Home/TopJurors/Header/MobileHeader.tsx index 17ac929a7..f2ad48c0a 100644 --- a/web/src/pages/Home/TopJurors/Header/MobileHeader.tsx +++ b/web/src/pages/Home/TopJurors/Header/MobileHeader.tsx @@ -19,6 +19,7 @@ const Container = styled.div` border-top-right-radius: 3px; border-bottom: none; flex-wrap: wrap; + ${landscapeStyle( () => css` display: none;