Update version changelog styling..

This commit is contained in:
Cüneyt Şentürk 2024-08-07 15:47:44 +03:00
parent c0a0584a92
commit ce0779ce0f
1 changed files with 16 additions and 2 deletions

View File

@ -41,9 +41,23 @@ class Versions
continue;
}
$output .= '<h2><span class="badge badge-pill badge-success">' . $release->tag_name . '</span></h2>';
if (empty($output)) {
$output .= '<div class="mx-6">';
} else {
$output .= '<div class="mx-6 my-6">';
}
$output .= Markdown::convertToHtml($release->body);
$output .= ' <div class="mb-4">';
$output .= ' <h2>';
$output .= ' <span class="rounded-xl bg-green px-3 py-2 text-base font-medium text-white ring-1 ring-inset ring-green">';
$output .= $release->tag_name;
$output .= ' </span>';
$output .= ' </h2>';
$output .= ' </div>';
$output .= Markdown::convertToHtml($release->body);
$output .= '</div>';
$output .= '<hr>';
}