Skip to content
This repository has been archived by the owner on Apr 23, 2024. It is now read-only.

Commit

Permalink
replace h tags with p tags
Browse files Browse the repository at this point in the history
  • Loading branch information
kimb0na committed Mar 1, 2022
1 parent 18f9735 commit a400ca5
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 6 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
# Changelog

## [2.0.4]
* Replace H3 tags with P tags

## [2.0.3]
* Replace H1 tags with H3 tags

Expand Down
6 changes: 3 additions & 3 deletions view/frontend/templates/modal/preferences.phtml
Original file line number Diff line number Diff line change
Expand Up @@ -22,13 +22,13 @@ $cookieGroups = $viewModel->getCookieGroups();
</div>
<div class="consent-tabs-content">
<div class="consent-tab-content cookie-policy">
<h3><?= __('Cookie Policy') ?></h3>
<p class="title"><?= __('Cookie Policy') ?></p>
<?= $this->getLayout()->createBlock(\Magento\Cms\Block\Block::class)->setBlockId($viewModel->getCookiePolicyIdentifier())->toHtml();?>
</div>
<?php foreach ($cookieGroups as $cookieGroup ) : ?>
<?php if ($cookieGroup->isActive()): ?>
<div class="consent-tab-content <?= $cookieGroup->getSystemName() ?>">
<h3><?= $cookieGroup->getName() ?></h3>
<p class="title"><?= $cookieGroup->getName() ?></p>
<p><?= $cookieGroup->getDescription() ?></p>
<div class="cookie-toggle-wrapper">
<label class="cookie-toggle">
Expand All @@ -40,7 +40,7 @@ $cookieGroups = $viewModel->getCookieGroups();
<?php endif; ?>
<?php endforeach; ?>
<div class="consent-tab-content privacy-policy">
<h3><?= __('Privacy Policy') ?></h3>
<p class="title"><?= __('Privacy Policy') ?></p>
<?= $this->getLayout()->createBlock(\Magento\Cms\Block\Block::class)->setBlockId($viewModel->getPrivacyPolicyIdentifier())->toHtml();?>
</div>
</div>
Expand Down
2 changes: 1 addition & 1 deletion view/frontend/templates/widget/overview.phtml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ $cookieGroups = $block->getCookieGroups();
?>
<div class="cookie-consent-overview">
<?php foreach ($cookieGroups as $cookieGroup): ?>
<h3><?= $cookieGroup->getName() ?></h3>
<p class="title"><?= $cookieGroup->getName() ?></p>
<div class="cookie-group-description">
<p><?= $cookieGroup->getDescription() ?></p>
</div>
Expand Down
5 changes: 3 additions & 2 deletions view/frontend/web/css/source/_module.less
Original file line number Diff line number Diff line change
Expand Up @@ -90,8 +90,9 @@
.consent-tab-content {
position: relative;

h3 {
p.title {
margin-bottom: 20px;
font-size: @font-size___l;
}

.cookie-toggle-wrapper {
Expand Down Expand Up @@ -171,7 +172,7 @@
// Cookie overview widget
// ---------------------------------------------
.cookie-consent-overview {
h3 {
p.title {
margin-bottom: 20px;
}

Expand Down

0 comments on commit a400ca5

Please sign in to comment.