From 9588073d4a2a72e4eb3664c5741b0368f59781fb Mon Sep 17 00:00:00 2001 From: Sara Bianchi <43245702+SaraBianchi@users.noreply.github.com> Date: Fri, 10 Nov 2023 15:46:31 +0100 Subject: [PATCH] fix: documentFirstHeading in subsites without style (#400) --- RELEASE.md | 1 + src/theme/ItaliaTheme/Subsites/_common.scss | 1 - src/theme/ItaliaTheme/Subsites/_homepage.scss | 9 --------- src/theme/ItaliaTheme/_home.scss | 10 ++++++++++ 4 files changed, 11 insertions(+), 10 deletions(-) delete mode 100644 src/theme/ItaliaTheme/Subsites/_homepage.scss diff --git a/RELEASE.md b/RELEASE.md index 3050fa8b8..8cafea824 100644 --- a/RELEASE.md +++ b/RELEASE.md @@ -52,6 +52,7 @@ ### Fix - Sistemata la visualizzazione della tipologia del bando nel template del blocco elenco 'Bandi' +- Rimosso titolo della pagina nei sottositi senza nessuno stile applicato ## Versione 10.2.0 (06/11/2023) diff --git a/src/theme/ItaliaTheme/Subsites/_common.scss b/src/theme/ItaliaTheme/Subsites/_common.scss index f00d4cc22..a450a92e8 100644 --- a/src/theme/ItaliaTheme/Subsites/_common.scss +++ b/src/theme/ItaliaTheme/Subsites/_common.scss @@ -10,4 +10,3 @@ @import '~bootstrap/scss/mixins'; @import 'mixin'; -@import 'homepage'; diff --git a/src/theme/ItaliaTheme/Subsites/_homepage.scss b/src/theme/ItaliaTheme/Subsites/_homepage.scss deleted file mode 100644 index 8c41411b1..000000000 --- a/src/theme/ItaliaTheme/Subsites/_homepage.scss +++ /dev/null @@ -1,9 +0,0 @@ -body.subsite.subsite-root { - &, - .public-ui { - .documentFirstHeading, - #briciole { - display: none; - } - } -} diff --git a/src/theme/ItaliaTheme/_home.scss b/src/theme/ItaliaTheme/_home.scss index 93df3a53d..f32b4d072 100644 --- a/src/theme/ItaliaTheme/_home.scss +++ b/src/theme/ItaliaTheme/_home.scss @@ -9,3 +9,13 @@ body.public-ui.contenttype-lrf { .sidebar-container-enter-done { z-index: 150000 !important; } + +body.subsite.subsite-root { + &, + .public-ui { + .documentFirstHeading, + #briciole { + display: none; + } + } +}