app/components/coco/base/button/button.css in coveragebook_components-0.5.1 vs app/components/coco/base/button/button.css in coveragebook_components-0.5.2

- old
+ new

@@ -39,11 +39,11 @@ @apply cursor-not-allowed; } /* loading */ - &[data-state="loading"] .button-icon { + &[data-state="loading"] > .button-element .button-icon { @apply animate-spin; } /* Fit */ @@ -51,11 +51,11 @@ @apply w-full; } /* Icons */ - &[data-icon-position="end"] { + &[data-icon-position="end"] > .button-element { .button-content { @apply order-1; } .button-icon { @@ -65,10 +65,10 @@ .button-toggle { @apply order-3; } } - &.with-icon[data-collapsed="true"] { + &.with-icon[data-collapsed="true"] > .button-element { .button-content { display: none; } } }