fix: Hide summary arrow utility

This commit is contained in:
Faris Ansari 2020-04-21 16:49:58 +05:30
parent 42c5a1a572
commit ce76ee06ef
2 changed files with 2 additions and 3 deletions

View file

@ -1,7 +1,7 @@
@tailwind base;
@tailwind components;
details.dropdown summary::-webkit-details-marker {
details.hide-summary-arrow summary::-webkit-details-marker {
display: none;
}
@ -9,7 +9,6 @@ details.dropdown summary::-webkit-details-marker {
@apply text-xl;
@apply text-gray-900;
@apply leading-relaxed;
@apply py-20;
> * + * {
@apply mt-6;

View file

@ -1,4 +1,4 @@
<details class="relative inline-block text-left dropdown">
<details class="relative inline-block text-left dropdown hide-summary-arrow">
<summary class="block cursor-pointer focus:outline-none">
<span class="inline-flex items-center justify-center text-gray-800 hover:text-gray-900">
{{ label }}