Skip to content

Commit fac16c4

Browse files
committed
style: increase close icon size in announcement modal
1 parent 60576ef commit fac16c4

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

static/css/app.css

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2484,6 +2484,9 @@
24842484
.w-\[670px\] {
24852485
width: 670px;
24862486
}
2487+
.w-auto {
2488+
width: auto;
2489+
}
24872490
.w-full {
24882491
width: 100%;
24892492
}

templates/includes/announcement_modal.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
<dialog id="announcement-modal" class="modal" open>
88
<div class="modal-box bg-cream-1 {% if latest_announcement.modal_size == 'lg' %}w-11/12 max-w-2xl{% elif latest_announcement.modal_size == 'xl' %}w-11/12 max-w-4xl{% endif %}">
99
<form method="dialog" class="absolute right-4 top-4">
10-
<button class="btn btn-sm btn-ghost"></button>
10+
<button class="btn btn-ghost text-2xl p-0 h-auto w-auto leading-none"></button>
1111
</form>
1212
<h3 class="font-bold text-lg">📢 {{ latest_announcement.title }}</h3>
1313
<div class="py-4">

0 commit comments

Comments
 (0)