Skip to content

Commit 43cd95d

Browse files
committed
Adjust badge size and padding in QSO index view
Reduced the font size and padding of the LIVE and POST mode badges for a more compact appearance in the QSO index page.
1 parent fb25861 commit 43cd95d

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

application/views/qso/index.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,10 +60,10 @@ function switchMode(url) {
6060

6161
<li class="nav-item ms-auto d-flex align-items-center">
6262
<?php if ($_GET['manual'] == 0) {
63-
echo " <span class=\"badge text-bg-success\" style=\"cursor: pointer; font-size: 1rem; padding: 0.5rem 1rem;\" onclick=\"switchMode('" . site_url('qso') . "?manual=1')\" title=\"Switch to POST mode\">LIVE</span>";
63+
echo " <span class=\"badge text-bg-success\" style=\"cursor: pointer; font-size: 0.9rem; padding: 0.4rem 0.9rem;\" onclick=\"switchMode('" . site_url('qso') . "?manual=1')\" title=\"Switch to POST mode\">LIVE</span>";
6464
};
6565
if ($_GET['manual'] == 1) {
66-
echo " <span class=\"badge text-bg-danger\" style=\"cursor: pointer; font-size: 1rem; padding: 0.5rem 1rem;\" onclick=\"switchMode('" . site_url('qso') . "?manual=0')\" title=\"Switch to LIVE mode\">POST</span>";
66+
echo " <span class=\"badge text-bg-danger\" style=\"cursor: pointer; font-size: 0.9rem; padding: 0.4rem 0.9rem;\" onclick=\"switchMode('" . site_url('qso') . "?manual=0')\" title=\"Switch to LIVE mode\">POST</span>";
6767
} ?>
6868
</li>
6969

0 commit comments

Comments
 (0)