Fix border not being applied due to missing border-style rule
This commit is contained in:
parent
be37720dc5
commit
829c2bb8ee
|
@ -34,6 +34,11 @@ export const styleable = (node, styles = {}) => {
|
||||||
baseStyles.overflow = "hidden"
|
baseStyles.overflow = "hidden"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Append border-style css if border-width is specified
|
||||||
|
if (newStyles.normal?.["border-width"]) {
|
||||||
|
baseStyles["border-style"] = "solid"
|
||||||
|
}
|
||||||
|
|
||||||
const componentId = newStyles.id
|
const componentId = newStyles.id
|
||||||
const customStyles = newStyles.custom || ""
|
const customStyles = newStyles.custom || ""
|
||||||
const normalStyles = { ...baseStyles, ...newStyles.normal }
|
const normalStyles = { ...baseStyles, ...newStyles.normal }
|
||||||
|
|
Loading…
Reference in New Issue