Files
payload/test/admin/components/views/CustomMinimal/index.scss
Jacob Fletcher 3668f053b3 chore!: consolidates admin routes and views configs (#3458)
BREAKING CHANGE: If your config has a `admin.components.routes` array, you will need to key them into the `admin.components.views` object. The configuration options should remain unchanged.
2023-10-08 16:08:13 -04:00

31 lines
525 B
SCSS

// As this is the demo folder, we import Payload SCSS functions relatively.
@import '../../../../../packages/payload/src/exports/scss.scss';
// In your own projects, you'd import as follows:
// @import '~payload/scss';
.custom-minimal-view {
&__login-btn {
margin-right: base(0.5);
}
&__content {
display: flex;
flex-direction: column;
gap: base(1);
& > * {
margin: 0;
}
}
&__controls {
display: flex;
gap: calc(var(--base) / 2);
& > * {
margin: 0;
}
}
}