aboutsummaryrefslogtreecommitdiff
path: root/app/views/helpers/index/normal/entry_bottom.phtml
diff options
context:
space:
mode:
authorGravatar maTh <math-home@web.de> 2022-04-11 22:54:19 +0200
committerGravatar GitHub <noreply@github.com> 2022-04-11 22:54:19 +0200
commit4191f9859ec1ec524167478c6fffce1da219a8fe (patch)
treedb217aac6ca719c7e9121f33d8d5be10de917234 /app/views/helpers/index/normal/entry_bottom.phtml
parent5e28bf8b403205642cf09aad5ef47ed1aa781a5d (diff)
Improved: dropdown close area (#4293)
* fix Ansum theme: close X in white * fix Mapco theme: close X in white * move the dropdown-close outside of the list * CSS * bring flux elemt behind the grey background * Update main.js
Diffstat (limited to 'app/views/helpers/index/normal/entry_bottom.phtml')
-rw-r--r--app/views/helpers/index/normal/entry_bottom.phtml8
1 files changed, 4 insertions, 4 deletions
diff --git a/app/views/helpers/index/normal/entry_bottom.phtml b/app/views/helpers/index/normal/entry_bottom.phtml
index 220fc5f62..8508acf71 100644
--- a/app/views/helpers/index/normal/entry_bottom.phtml
+++ b/app/views/helpers/index/normal/entry_bottom.phtml
@@ -45,10 +45,9 @@
echo _t('index.menu.tags');
?></a>
<ul class="dropdown-menu dropdown-menu-scrollable scrollbar-thin">
- <li class="dropdown-close"><a href="#close">❌</a></li>
<!-- Ajax -->
</ul>
- <div class="dropdown-close"><a href="#close">❌</a></div>
+ <a class="dropdown-close" href="#close">❌</a>
</div>
</li><?php
}
@@ -62,11 +61,12 @@
echo _t('index.tag.related');
?></a>
<ul class="dropdown-menu">
- <li class="dropdown-close"><a href="#close">❌</a></li><?php
+ <?php
foreach ($tags as $tag) {
?><li class="item"><a href="<?= _url('index', 'index', 'search', '#' . str_replace(' ', '+', htmlspecialchars_decode($tag, ENT_QUOTES))) ?>"><?= $tag ?></a></li><?php
} ?>
</ul>
+ <a class="dropdown-close" href="#close">❌</a>
</div>
</li><?php
}
@@ -80,7 +80,6 @@
</a>
<ul class="dropdown-menu">
- <li class="dropdown-close"><a href="#close">❌</a></li>
<li class="dropdown-header"><?= _t('index.share') ?> <a href="<?= _url('configure', 'integration') ?>"><?= _i('configure') ?></a></li><?php
$id = $this->entry->id();
$link = $this->entry->link();
@@ -112,6 +111,7 @@
</li><?php
}
?></ul>
+ <a class="dropdown-close" href="#close">❌</a>
</div>
<?php } ?>
</li><?php