datastake-daf 0.6.370 → 0.6.371
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/dist/components/index.js
CHANGED
|
@@ -51499,7 +51499,7 @@ function NameNode({
|
|
|
51499
51499
|
}
|
|
51500
51500
|
const Style$d = dt.div`
|
|
51501
51501
|
width: ${NAME_CARD_WIDTH}px;
|
|
51502
|
-
height: ${NAME_CARD_HEIGHT}px;
|
|
51502
|
+
height: ${props => props.$isPdf ? NAME_CARD_HEIGHT : ICON_NODE_HEIGHT}px;
|
|
51503
51503
|
display: flex;
|
|
51504
51504
|
background: white;
|
|
51505
51505
|
border-radius: 8px;
|
package/package.json
CHANGED
|
@@ -6,6 +6,7 @@ import CustomIcon from "../../../Icon/CustomIcon.jsx";
|
|
|
6
6
|
import { Tooltip } from "antd";
|
|
7
7
|
import { theme } from "antd";
|
|
8
8
|
import { truncateString } from "../../../../../../helpers/StringHelper.js";
|
|
9
|
+
import { ICON_NODE_HEIGHT } from "./index.jsx";
|
|
9
10
|
|
|
10
11
|
export const NAME_CARD_WIDTH = 315;
|
|
11
12
|
export const NAME_CARD_HEIGHT = 37;
|
|
@@ -136,7 +137,7 @@ export default function NameNode({ data }) {
|
|
|
136
137
|
|
|
137
138
|
const Style = styled.div`
|
|
138
139
|
width: ${NAME_CARD_WIDTH}px;
|
|
139
|
-
height: ${NAME_CARD_HEIGHT}px;
|
|
140
|
+
height: ${props => props.$isPdf ? NAME_CARD_HEIGHT : ICON_NODE_HEIGHT}px;
|
|
140
141
|
display: flex;
|
|
141
142
|
background: white;
|
|
142
143
|
border-radius: 8px;
|