Skip to content

Commit e00901e

Browse files
committed
chore: empty state css override
1 parent 1dae146 commit e00901e

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

src/Common/EmptyState/emptyState.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
max-height: 200px;
2828
width: auto;
2929
}
30-
.button svg {
30+
.button, .override-generic-empty svg {
3131
height: 100%;
3232
max-height: none;
3333
width: 100%;

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ const InfoBlock = ({
9494

9595
if (layout === 'row') {
9696
return (
97-
<div className={`${baseContainerClass} flexbox dc__gap-16`}>
97+
<div className={`${baseContainerClass} override-generic-empty flexbox dc__gap-16`}>
9898
<div className="flexbox dc__gap-8 flex-grow-1">
9999
{renderIcon()}
100100
{renderContent()}
@@ -107,7 +107,7 @@ const InfoBlock = ({
107107

108108
if (layout === 'column') {
109109
return (
110-
<div className={`${baseContainerClass} flexbox-col dc__gap-8`}>
110+
<div className={`${baseContainerClass} override-generic-empty flexbox-col dc__gap-8`}>
111111
<div className="flexbox dc__gap-8">
112112
{renderContent()}
113113
{renderIcon()}

src/Shared/Components/InfoBlock/constants.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ export const VARIANT_TO_ICON_MAP: Record<InfoBlockProps['variant'], InfoBlockPro
3838
help: <ICHelp className="fcv-5" />,
3939
information: <Icon name="ic-info-filled" color="B500" />,
4040
success: <ICSuccess />,
41-
warning: <ICWarningY5 />,
41+
warning: <ICWarningY5 className="icon-dim-20-imp" />,
4242
neutral: <Icon name="ic-info-filled" color={null} />,
4343
}
4444

0 commit comments

Comments
 (0)