add won-detail-viewer mixin
padding: 0 $cntPadding;
}
}
+/**
+ * Use this mixin on *-viewer elements to support uniform styling of the viewer-components
+ */
+@mixin won-detail-viewer($prefix) {
+ display: grid;
+ grid-auto-flow: row;
+ grid-gap: 0.5rem;
+
+ .#{$prefix}__header {
+ &__icon {
+ @include fixed-square($iconSize);
+ --local-primary: #{$won-primary-text-color};
+ margin-right: 0.5rem;
+ }
+
+ &__label {
+ font-weight: bold;
+ }
+ }
+
+ .#{$prefix}__content {
+ }
+}
@mixin empty-description($prefix) {
.#{$prefix}__inner.empty {
