💄 Added cursor:pointer to div of badges and mt-4 to btn (#18550)
Co-authored-by: Zerg <rajattalesra4914@gmail.com>
This commit is contained in:
parent
9cc455a38d
commit
b482c4215e
3 changed files with 3 additions and 2 deletions
|
|
@ -2,6 +2,7 @@
|
|||
.badge-container {
|
||||
width: auto;
|
||||
background-color: white;
|
||||
cursor: pointer;
|
||||
|
||||
.badge-image-conatiner {
|
||||
width: auto;
|
||||
|
|
|
|||
|
|
@ -10,6 +10,6 @@
|
|||
<h4 class="fw-800 fs-l color-grey-800"><%= badge.title %></h4>
|
||||
<p><%= badge.description %></p>
|
||||
</div>
|
||||
<button class="flex flex-row items-start c-btn c-btn--primary" onclick="window.Forem.closeModal()"><%= t("views.badges.gotit") %></button>
|
||||
<button class="flex flex-row items-start c-btn c-btn--primary mt-4" onclick="window.Forem.closeModal()"><%= t("views.badges.gotit") %></button>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -12,7 +12,7 @@
|
|||
<img src="<%= optimized_image_url(achievement.badge_image_url, width: 180) %>"
|
||||
alt="<%= achievement.badge_title %>"
|
||||
class="mx-auto max-w-75 h-auto align-middle"
|
||||
style="object-fit: contain; width: 100%; aspect-ratio: 1 / 1; transform: rotate(<%= rand(-10..10) %>deg);"
|
||||
style="object-fit: contain; cursor: pointer; width: 100%; aspect-ratio: 1 / 1; transform: rotate(<%= rand(-10..10) %>deg);"
|
||||
loading="lazy" />
|
||||
</div>
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue