Skip to content

Commit e333b2b

Browse files
committed
Merge branch 'develop' into feat/info-bar-replacement
2 parents 4a31769 + 0a808e2 commit e333b2b

File tree

4 files changed

+4
-20
lines changed

4 files changed

+4
-20
lines changed

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@devtron-labs/devtron-fe-common-lib",
3-
"version": "1.11.0-pre-7",
3+
"version": "1.11.0-pre-8",
44
"description": "Supporting common component library",
55
"type": "module",
66
"main": "dist/index.js",

src/Common/EmptyState/emptyState.scss

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -16,22 +16,6 @@
1616

1717
.empty-state {
1818
height: 100%;
19-
img {
20-
height: 40%;
21-
max-height: 200px;
22-
width: auto;
23-
max-width: 250px;
24-
}
25-
svg {
26-
height: 40%;
27-
max-height: 200px;
28-
width: auto;
29-
}
30-
.button, .override-empty-svg-dim svg {
31-
height: 100%;
32-
max-height: none;
33-
width: 100%;
34-
}
3519
h1,
3620
h2,
3721
h3,

src/Shared/Components/InfoBlock/InfoBlock.component.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ const InfoBlock = ({
3838
borderRadiusConfig,
3939
borderConfig,
4040
}: InfoBlockProps) => {
41-
const baseContainerClass = `override-empty-svg-dim ${CONTAINER_SIZE_TO_CLASS_MAP[size]} ${VARIANT_TO_BG_MAP[variant]} ${deriveBorderRadiusAndBorderClassFromConfig({ borderConfig, borderRadiusConfig })} w-100 py-8 br-4 bw-1`
41+
const baseContainerClass = `${CONTAINER_SIZE_TO_CLASS_MAP[size]} ${VARIANT_TO_BG_MAP[variant]} ${deriveBorderRadiusAndBorderClassFromConfig({ borderConfig, borderRadiusConfig })} w-100 py-8 br-4 bw-1`
4242
const iconClass = `dc__no-shrink flex dc__fill-available-space ${SIZE_TO_ICON_CLASS_MAP[size]}`
4343
const icon = customIcon ?? VARIANT_TO_ICON_MAP[variant]
4444

0 commit comments

Comments
 (0)