Makes active platform button a span instead of a link

main
Yasen Pramatarov 2024-10-06 18:22:05 +03:00
parent 9fcaa76644
commit ef698c4fa7
2 changed files with 3 additions and 3 deletions

View File

@ -17,9 +17,9 @@
?>
<li style="margin-right: 3px;">
<?php if ((isset($_REQUEST['platform']) || empty($_SERVER['QUERY_STRING'])) && $platform['id'] == $platform_id) { ?>
<a style="background-color: #fff; border: 1px solid #111; color: #111; border-bottom-color: #fff; padding-bottom: 12px" href="#">
<span style="background-color: #fff; border: 1px solid #111; color: #111; border-bottom-color: #fff; padding-bottom: 12px;">
<?= htmlspecialchars($platform['name']) ?>
</a>
</span>
<?php } else { ?>
<a href="<?= htmlspecialchars($platform_switch_url) ?>">
<?= htmlspecialchars($platform['name']) ?>

View File

@ -25,7 +25,7 @@
color: white;
}
.menu-left li a, .menu-right li a {
.menu-left li a, .menu-left li span, .menu-right li a {
display: block;
color: white;
text-align: center;