Skip to content

Commit 712df16

Browse files
committed
fix: restore bg-cream-1 and fix modal size classes
1 parent e0d3954 commit 712df16

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

static/css/app.css

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2418,6 +2418,9 @@
24182418
.w-6 {
24192419
width: calc(var(--spacing) * 6);
24202420
}
2421+
.w-11\/12 {
2422+
width: calc(11 / 12 * 100%);
2423+
}
24212424
.w-16 {
24222425
width: calc(var(--spacing) * 16);
24232426
}
@@ -2478,6 +2481,9 @@
24782481
.w-full {
24792482
width: 100%;
24802483
}
2484+
.max-w-2xl {
2485+
max-width: var(--container-2xl);
2486+
}
24812487
.max-w-3xl {
24822488
max-width: var(--container-3xl);
24832489
}

templates/includes/announcement_modal.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
{% if latest_announcement %}
77
<dialog id="announcement-modal" class="modal" open>
8-
<div class="modal-box {% if latest_announcement.modal_size == 'lg' %}lg:max-w-2xl{% elif latest_announcement.modal_size == 'xl' %}lg:max-w-4xl{% else %}lg:max-w-lg{% endif %}">
8+
<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
<h3 class="font-bold text-lg">📢 {{ latest_announcement.title }}</h3>
1010
<div class="py-4">
1111
{{ latest_announcement.content|safe }}

0 commit comments

Comments
 (0)