diff --git a/src/theme/ItaliaTheme/Blocks/_accordion.scss b/src/theme/ItaliaTheme/Blocks/_accordion.scss index 2b609c556..2be1e5251 100644 --- a/src/theme/ItaliaTheme/Blocks/_accordion.scss +++ b/src/theme/ItaliaTheme/Blocks/_accordion.scss @@ -128,6 +128,10 @@ $accordion-icon-color: #7fb2e5; .accordion-inner { padding: 2em 0; + p { + min-height: 1rem; + margin-bottom: 0; + } } .link-more { diff --git a/src/theme/ItaliaTheme/Blocks/_tableOfContents.scss b/src/theme/ItaliaTheme/Blocks/_tableOfContents.scss index f50c266c4..5473a5350 100644 --- a/src/theme/ItaliaTheme/Blocks/_tableOfContents.scss +++ b/src/theme/ItaliaTheme/Blocks/_tableOfContents.scss @@ -4,6 +4,7 @@ $space-left: 1rem; // template for "Indice dei contenuti" .ui.bulleted.list { padding-left: 0; + & .ui.bulleted.list { padding-left: 0; display: flex; @@ -32,25 +33,11 @@ $space-left: 1rem; } &.headline-2 { margin-top: 0.5rem; - font-size: 1rem; - font-weight: 600; + font-size: 0.889em; width: 100%; - - &::before { - width: 0; - height: 0; - border-top: 0.4rem solid transparent; - border-bottom: 0.4rem solid transparent; - border-left: 0.5rem solid $link-color; - content: '' !important; - list-style: none; - position: absolute; - top: 0.4rem; - } } - &:not(.headline-2)::before { - position: relative; + &::before { display: inline-block; width: 0.55rem; min-width: 0.55rem;