Skip to content

Commit 6b0fbc2

Browse files
committed
Update alert
1 parent d901e02 commit 6b0fbc2

2 files changed

Lines changed: 7 additions & 8 deletions

File tree

assets/css/styles.css

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
! tailwindcss v3.1.5 | MIT License | https://tailwindcss.com
2+
! tailwindcss v3.1.6 | MIT License | https://tailwindcss.com
33
*/
44

55
/*
@@ -1560,11 +1560,6 @@ svg {
15601560
color: rgb(229 231 235 / var(--tw-text-opacity));
15611561
}
15621562

1563-
.hover\:text-gray-100:hover {
1564-
--tw-text-opacity: 1;
1565-
color: rgb(243 244 246 / var(--tw-text-opacity));
1566-
}
1567-
15681563
.hover\:text-gray-700:hover {
15691564
--tw-text-opacity: 1;
15701565
color: rgb(55 65 81 / var(--tw-text-opacity));
@@ -1590,6 +1585,10 @@ svg {
15901585
color: rgb(3 105 161 / var(--tw-text-opacity));
15911586
}
15921587

1588+
.hover\:opacity-75:hover {
1589+
opacity: 0.75;
1590+
}
1591+
15931592
.focus\:border-slate-300:focus {
15941593
--tw-border-opacity: 1;
15951594
border-color: rgb(203 213 225 / var(--tw-border-opacity));

templates/components/alert.twig

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
<div class="alert ml-auto flex items-center py-3 px-4 mb-4 {{ alert_color ? alert_color : 'bg-blue-500' }} rounded shadow-lg">
22
<div class="ml-3 text-sm font-medium text-white flex items-center gap-1">{{ message|raw }}</div>
33
{% if not hide_close %}
4-
<button type="button" class="close text-white hover:text-gray-100 ml-auto -mx-1.5 -my-1.5 p-1.5 inline-flex" onclick="this.parentElement.remove();">
5-
{{ svg('x', 35) }}
4+
<button type="button" class="close text-white hover:opacity-75 ml-auto -mx-1.5 -my-1.5 p-1.5 inline-flex" onclick="this.parentElement.remove();">
5+
{{ svg('x') }}
66
</button>
77
{% endif %}
88
</div>

0 commit comments

Comments
 (0)