app/components/coco/base/modal/modal.css in coveragebook_components-0.8.8 vs app/components/coco/base/modal/modal.css in coveragebook_components-0.8.9
- old
+ new
@@ -71,6 +71,18 @@
}
.modal-frame {
@apply contents;
}
+
+ /*
+ Limit the size of modal content when rendered in the
+ host page rather than displayed as a modal.
+ */
+ [data-role="inline-modal-content"] {
+ @apply max-w-2xl mx-auto;
+
+ [data-component="modal-dialog"] {
+ @apply border border-gray-300 shadow-md rounded-xl;
+ }
+ }
}