From 1e67f5c77b8c9dbe48fe2051982117ae18bcf15c Mon Sep 17 00:00:00 2001 From: joannasikora Date: Wed, 22 Jan 2025 15:28:52 +0100 Subject: [PATCH] style(EmptyState): update max-width and max-height for improved responsiveness --- .../src/components/EmptyState/EmptyState.module.scss | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/react-components/src/components/EmptyState/EmptyState.module.scss b/packages/react-components/src/components/EmptyState/EmptyState.module.scss index d25a1c352..c9118185d 100644 --- a/packages/react-components/src/components/EmptyState/EmptyState.module.scss +++ b/packages/react-components/src/components/EmptyState/EmptyState.module.scss @@ -29,9 +29,9 @@ $base-class: 'empty-state'; margin-bottom: var(--spacing-6); border-radius: var(--radius-4); width: auto; - max-width: 600px; + max-width: min(100%, 600px); height: auto; - max-height: 300px; + max-height: min(100%, 300px); object-fit: contain; }