Files
klz-cables.com/.pnpm-store/v10/files/41/6aa7ae7d3ebc3c308a27d38cb014d95496b311032d0d31587650e74993028e416a5a3b54ab5ddf215647b40ad5c83150dced0613b5b7eacad09801625d801d
Marc Mintel 5397309103
Some checks failed
Build & Deploy / 🔍 Prepare (push) Successful in 20s
Build & Deploy / 🧪 QA (push) Failing after 34s
Build & Deploy / 🏗️ Build (push) Has started running
Build & Deploy / 🚀 Deploy (push) Has been cancelled
Build & Deploy / 🧪 Smoke Test (push) Has been cancelled
Build & Deploy / ⚡ Lighthouse (push) Has been cancelled
Build & Deploy / 🔔 Notify (push) Has been cancelled
fix(products): fix breadcrumbs and product filtering (backport from main)
2026-02-24 16:04:21 +01:00

66 lines
1.4 KiB
Plaintext

@import '../../scss/styles.scss';
@layer payload-default {
// Positioned field-type__wrap is needed for correct positioning of field tooltips.
// This is set outside of .render-fields, so that manually rendered fields (e.g. in Auth/index.tsx)
// outside RenderFields also receive this styling.
.field-type__wrap {
position: relative;
}
.render-fields {
--spacing-field: var(--base);
&--margins-small {
--spacing-field: var(--base);
}
&--margins-none {
--spacing-field: 0;
}
& > .field-type {
margin-bottom: var(--spacing-field);
position: relative;
&[type='hidden'] {
margin-bottom: 0;
}
&:first-child {
margin-top: 0;
}
&:last-of-type {
margin-bottom: 0;
}
}
// at the top-level, add extra margins for the following field types
&:not(.render-fields--margins-small) {
& > .field-type {
&.group-field,
&.blocks-field,
&.array-field,
&.collapsible-field,
&.rich-text {
margin-top: calc(var(--spacing-field) * 2);
margin-bottom: calc(var(--spacing-field) * 2);
&:first-child {
margin-top: 0;
}
&:last-child {
margin-bottom: 0;
}
}
}
}
@include small-break {
--spacing-field: calc(var(--base) / 2);
}
}
}