From 15230f488ac4fe841e289738d406a8aea347f226 Mon Sep 17 00:00:00 2001 From: Kevin Decherf Date: Sun, 13 Aug 2023 00:08:39 +0200 Subject: [PATCH] css: reduce risk of collision for #content `main #content` can match fetched content and break the layout, like for technologyreview.com Signed-off-by: Kevin Decherf --- app/Resources/static/themes/material/css/cards.scss | 2 +- app/Resources/static/themes/material/css/media_queries.scss | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/Resources/static/themes/material/css/cards.scss b/app/Resources/static/themes/material/css/cards.scss index ae045bf35..830897b24 100644 --- a/app/Resources/static/themes/material/css/cards.scss +++ b/app/Resources/static/themes/material/css/cards.scss @@ -3,7 +3,7 @@ ========================================================================== */ main { - #content { + div#content { padding: 0 0.5rem; } } diff --git a/app/Resources/static/themes/material/css/media_queries.scss b/app/Resources/static/themes/material/css/media_queries.scss index 0561835f1..b49399d8b 100644 --- a/app/Resources/static/themes/material/css/media_queries.scss +++ b/app/Resources/static/themes/material/css/media_queries.scss @@ -21,7 +21,7 @@ } @media screen and (min-width: 993px) { - .entry #content { + .entry main div#content { padding-left: 70px; } }