Update styles of padded DND components
This commit is contained in:
parent
d166cbb466
commit
3325b7b62b
|
@ -509,9 +509,9 @@
|
||||||
transition: padding 260ms ease-out, border 260ms ease-out;
|
transition: padding 260ms ease-out, border 260ms ease-out;
|
||||||
}
|
}
|
||||||
.component.pad :global(> *) {
|
.component.pad :global(> *) {
|
||||||
padding: 12px !important;
|
padding: var(--spacing-l) !important;
|
||||||
gap: 12px !important;
|
gap: var(--spacing-l) !important;
|
||||||
border: 2px dotted var(--spectrum-global-color-gray-400) !important;
|
border: 2px dashed var(--spectrum-global-color-gray-400) !important;
|
||||||
border-radius: 4px !important;
|
border-radius: 4px !important;
|
||||||
}
|
}
|
||||||
.interactive :global(*) {
|
.interactive :global(*) {
|
||||||
|
|
|
@ -27,7 +27,7 @@ export const styleable = (node, styles = {}) => {
|
||||||
const setupStyles = (newStyles = {}) => {
|
const setupStyles = (newStyles = {}) => {
|
||||||
let baseStyles = {}
|
let baseStyles = {}
|
||||||
if (newStyles.empty) {
|
if (newStyles.empty) {
|
||||||
baseStyles.border = "2px dashed var(--spectrum-global-color-gray-600)"
|
baseStyles.border = "2px dashed var(--spectrum-global-color-gray-400)"
|
||||||
baseStyles.padding = "var(--spacing-l)"
|
baseStyles.padding = "var(--spacing-l)"
|
||||||
baseStyles.overflow = "hidden"
|
baseStyles.overflow = "hidden"
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue