@thecb/components 10.6.2-beta.2 → 10.6.2-beta.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -48,14 +48,14 @@ const renderDisabledContent = ({ children }) => (
|
|
|
48
48
|
const renderContent = ({ isLink, destination, dataQa, children, action }) =>
|
|
49
49
|
isLink ? (
|
|
50
50
|
<Link to={destination} data-qa={dataQa} style={{ textDecoration: "none" }}>
|
|
51
|
-
<Box padding="0" minHeight="100%" extraStyles="cursor: pointer;">
|
|
51
|
+
<Box padding="0 2px" minHeight="100%" extraStyles="cursor: pointer;">
|
|
52
52
|
{children}
|
|
53
53
|
</Box>
|
|
54
54
|
</Link>
|
|
55
55
|
) : (
|
|
56
56
|
<Box
|
|
57
57
|
onClick={action}
|
|
58
|
-
padding="0"
|
|
58
|
+
padding="0 2px"
|
|
59
59
|
minHeight="100%"
|
|
60
60
|
extraStyles="cursor: pointer;"
|
|
61
61
|
dataQa={dataQa}
|
|
@@ -163,7 +163,7 @@ const EditableList = ({
|
|
|
163
163
|
})}
|
|
164
164
|
</Box>
|
|
165
165
|
{canAdd && (!maxItems || items.length < maxItems) && (
|
|
166
|
-
<Box padding={items.length === 0 ? "0" : "1rem
|
|
166
|
+
<Box padding={items.length === 0 ? "0" : "1rem 0 0"}>
|
|
167
167
|
<Placeholder
|
|
168
168
|
text={addText}
|
|
169
169
|
action={addItem}
|