From 897c5862c733c449d2b84171fce84a6e084e54d0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Ra=C4=8D=C3=A1k?= Date: Fri, 13 Dec 2024 16:39:41 +0100 Subject: [PATCH] Fix alignment of deep link icon Setting manual margins is fragile. Remove them to fix bad alignment in about pages, since the icon is vertically aligned already. It looks good to me as is, but if we want to change the alignment, we should change the SVG instead. --- site/gdocs/components/AllCharts.tsx | 2 +- site/gdocs/components/KeyInsights.tsx | 2 +- site/gdocs/components/ResearchAndWriting.scss | 4 -- site/gdocs/components/ResearchAndWriting.tsx | 2 +- site/gdocs/components/centered-article.scss | 24 --------- site/gdocs/components/topic-page.scss | 21 ++------ site/owid.scss | 52 ++++++++++++++----- 7 files changed, 45 insertions(+), 62 deletions(-) diff --git a/site/gdocs/components/AllCharts.tsx b/site/gdocs/components/AllCharts.tsx index 60ae1250c13..6e04a7b217e 100644 --- a/site/gdocs/components/AllCharts.tsx +++ b/site/gdocs/components/AllCharts.tsx @@ -52,7 +52,7 @@ export function AllCharts(props: AllChartsProps) { className="article-block__heading h1-semibold" id={ALL_CHARTS_ID} > - {heading} + {heading} - {heading} + {heading} - {heading || RESEARCH_AND_WRITING_DEFAULT_HEADING} + {heading || RESEARCH_AND_WRITING_DEFAULT_HEADING}