app/components/coco/base/link/link.css in coveragebook_components-0.7.2 vs app/components/coco/base/link/link.css in coveragebook_components-0.7.3
- old
+ new
@@ -1,25 +1,25 @@
@layer components {
[data-coco].coco-link {
@apply inline-flex items-center;
- &[data-icon-position="start"] {
- .link-text {
- @apply order-2;
- }
-
- [data-component="icon"] {
+ &.with-icon {
+ > [data-component="icon"] {
@apply order-1 mr-[0.4em];
}
- }
- &[data-icon-position="end"] {
.link-text {
- @apply order-1 mr-[0.4em];
+ @apply order-2;
}
- [data-component="icon"] {
- @apply order-2;
+ &[data-icon-position="end"] {
+ .link-text {
+ @apply order-1 mr-[0.4em];
+ }
+
+ [data-component="icon"] {
+ @apply order-2 mr-0;
+ }
}
}
}
}