diff --git a/app/Controllers/Opd.php b/app/Controllers/Opd.php index 8acc0aa..3d678bb 100644 --- a/app/Controllers/Opd.php +++ b/app/Controllers/Opd.php @@ -3882,17 +3882,17 @@ class Opd extends BaseController $labels = ['No Pain', 'Mild', 'Moderate', 'Intense', 'Worst']; // Add debug info at top showing which pain level is selected - $painImageHtml = '
| ' . $indicator . ' | '; + $fontSize = $active ? '12px' : '10px'; + $painImageHtml .= '' . $indicator . ' | '; } $painImageHtml .= '' . $i . ' | '; + $painImageHtml .= '' . $i . ' | '; } $painImageHtml .= ''; @@ -3913,8 +3913,8 @@ class Opd extends BaseController for ($i = 0; $i <= 4; $i++) { $active = ($painIndex === $i); $fontWeight = $active ? '700' : '400'; - $fontSize = $active ? '9px' : '8px'; - $painImageHtml .= '' . esc($labels[$i]) . ' | '; + $fontSize = $active ? '7px' : '7px'; + $painImageHtml .= '' . esc($labels[$i]) . ' | '; } $painImageHtml .= '