Makes active platform button a span instead of a link
parent
9fcaa76644
commit
ef698c4fa7
|
@ -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']) ?>
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue