Refactor button group in case display for improved styling and alignment

This commit is contained in:
Ross
2025-10-31 22:00:07 +00:00
parent f921a46b5f
commit 77edb83688
@@ -108,7 +108,7 @@
{% else %} {% else %}
<div class="btn-group" role="group"> <div class="btn-group link-buttons" role="group">
<button type="button" class="btn btn-primary" onclick="window.location.href='/ohif/viewer/dicomjson?url=https://www.penracourses.org.uk{% url 'atlas:case_dicom_json' case.pk %}'">View case in OHIF</button> <button type="button" class="btn btn-primary" onclick="window.location.href='/ohif/viewer/dicomjson?url=https://www.penracourses.org.uk{% url 'atlas:case_dicom_json' case.pk %}'">View case in OHIF</button>
<button type="button" class="btn btn-primary dropdown-toggle dropdown-toggle-split" data-bs-toggle="dropdown" aria-expanded="false"> <button type="button" class="btn btn-primary dropdown-toggle dropdown-toggle-split" data-bs-toggle="dropdown" aria-expanded="false">
<span class="visually-hidden">Toggle dropdown</span> <span class="visually-hidden">Toggle dropdown</span>
@@ -784,4 +784,7 @@
padding: 8px; padding: 8px;
margin-top: 8px; margin-top: 8px;
} }
.link-buttons {
float: right;
}
</style> </style>