Skip to content

Commit

Permalink
d-none
Browse files Browse the repository at this point in the history
  • Loading branch information
Carl-OW committed Nov 14, 2024
1 parent e7bff85 commit 3863c1b
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions src/main/resources/site/pages/default/default.html
Original file line number Diff line number Diff line change
Expand Up @@ -146,8 +146,7 @@ <h1 data-th-text="${page.displayName}"></h1>
<div class="container">
<div class="row">
<div class="col">
<h2 data-th-if="${region.hideTitle && region.title}" class="sr-only sr-only-focusable mb-5"
style="display: none;"
<h2 data-th-if="${region.hideTitle && region.title}" class="d-none mb-5"
data-th-text="${region.title}"></h2>
<h2 data-th-if="${!region.hideTitle && region.title}" class="mb-5 mt-2 pt-5"
data-th-text="${region.title}"></h2>
Expand All @@ -159,8 +158,7 @@ <h1 data-th-text="${page.displayName}"></h1>

<!-- Subtitle for content in border-top-green containers -->
<h2 data-th-if="${region.view == 'card' && region.hideTitle && region.title}"
style="display: none;"
class="sr-only sr-only-focusable mb-5" data-th-text="${region.title}"></h2>
class="d-none mb-5" data-th-text="${region.title}"></h2>
<h2 data-th-if="${region.view == 'card' && !region.hideTitle && region.title}" class="mb-5"
data-th-text="${region.title}"></h2>

Expand Down

0 comments on commit 3863c1b

Please sign in to comment.