From 36b7a28de589f1c9834b81ef5177443c07f6b3a4 Mon Sep 17 00:00:00 2001 From: Axel Bocciarelli Date: Wed, 16 Aug 2017 14:49:10 +1000 Subject: [PATCH 1/3] fix centring and width of figures in single news and events --- assets/components/events/_events-detail.css | 6 ++++++ assets/components/news/_article.css | 4 +++- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/assets/components/events/_events-detail.css b/assets/components/events/_events-detail.css index 29f1f974..24f98b95 100644 --- a/assets/components/events/_events-detail.css +++ b/assets/components/events/_events-detail.css @@ -165,6 +165,12 @@ div { border-top: 0 none; } + + /* HACK fix centring and width */ + .figure { + margin-left: 0; + max-width: none; + } } .lower { diff --git a/assets/components/news/_article.css b/assets/components/news/_article.css index ce9ed5cd..f4e468d8 100644 --- a/assets/components/news/_article.css +++ b/assets/components/news/_article.css @@ -85,8 +85,10 @@ width: 100%; } + /* HACK fix centring and width */ .figure { - margin-left: 0; /* HACK fix centring */ + margin-left: 0; + max-width: none; } } From 9640da384f4b6937c0a5b81c77613289883dd2f9 Mon Sep 17 00:00:00 2001 From: Axel Bocciarelli Date: Wed, 16 Aug 2017 14:49:28 +1000 Subject: [PATCH 2/3] fix z-index of ribbon when event contains embed --- assets/components/events/_events.css | 1 + 1 file changed, 1 insertion(+) diff --git a/assets/components/events/_events.css b/assets/components/events/_events.css index 67baf461..d7831366 100644 --- a/assets/components/events/_events.css +++ b/assets/components/events/_events.css @@ -377,6 +377,7 @@ position: absolute; top: calc(1em * 2.25 / 2); right: calc(1em * 2.25 / 2); + z-index: 1; /* on top of embed, if present in `.upper` */ display: block; width: 100%; font-size: 1em; From 423d5a362e9a7a526780ee574b8fe9dad87baa7c Mon Sep 17 00:00:00 2001 From: Axel Bocciarelli Date: Wed, 16 Aug 2017 14:50:30 +1000 Subject: [PATCH 3/3] fix date hidden when event has ribbon --- assets/components/events/_events-detail.css | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/assets/components/events/_events-detail.css b/assets/components/events/_events-detail.css index 24f98b95..347be5bf 100644 --- a/assets/components/events/_events-detail.css +++ b/assets/components/events/_events-detail.css @@ -129,7 +129,7 @@ text-align: center; @media screen and (--bp-desktop) { - margin-left: 18.75rem; + padding-left: 18.75rem; text-align: left; }