ui/ux improvements
This commit is contained in:
@@ -62,12 +62,12 @@ $safetyPrecaution = [
|
||||
?>
|
||||
|
||||
<li class="accordion precautions-columns">
|
||||
<div class="flex px-2 rounded-md justify-between">
|
||||
<div class="relative flex px-2 rounded-md justify-between">
|
||||
<div href="" class="gap-x-3 rounded-md p-2 text-sm leading-6 font-semibold flex items-center align-middle">
|
||||
<p><?php echo $precaution['title'] ?></p>
|
||||
</div>
|
||||
|
||||
<button class="accordion-toggle">
|
||||
<button class="accordion-toggle absolute inset-0 flex w-full h-full">
|
||||
<i class="fas fa-chevron-down items-center ml-auto rounded-m px-2.5 py-2 " aria-hidden="true"></i>
|
||||
<i class="fas fa-times items-center ml-auto rounded-md px-3 py-2" aria-hidden="true"></i>
|
||||
</button>
|
||||
@@ -75,7 +75,7 @@ $safetyPrecaution = [
|
||||
</div>
|
||||
<div class="accordion-content space-y-4">
|
||||
|
||||
<!-- Precaution Content -->
|
||||
<!-- Precaution -->
|
||||
<div>
|
||||
<ul class="<?php
|
||||
if (count($precaution['content']) > 1) {
|
||||
|
Reference in New Issue
Block a user