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;
|
||||
}
|
||||
.component.pad :global(> *) {
|
||||
padding: 12px !important;
|
||||
gap: 12px !important;
|
||||
border: 2px dotted var(--spectrum-global-color-gray-400) !important;
|
||||
padding: var(--spacing-l) !important;
|
||||
gap: var(--spacing-l) !important;
|
||||
border: 2px dashed var(--spectrum-global-color-gray-400) !important;
|
||||
border-radius: 4px !important;
|
||||
}
|
||||
.interactive :global(*) {
|
||||
|
|
|
@ -27,7 +27,7 @@ export const styleable = (node, styles = {}) => {
|
|||
const setupStyles = (newStyles = {}) => {
|
||||
let baseStyles = {}
|
||||
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.overflow = "hidden"
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue