Skip to content

Commit

Permalink
fix(EmptyState): fix styles to work on FF and Safari
Browse files Browse the repository at this point in the history
  • Loading branch information
HeartSquared committed Nov 19, 2024
1 parent 26622d4 commit 82142ef
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/components/src/EmptyState/EmptyState.module.css
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
.container {
--empty-state-border-width: var(--border-width-1);
--empty-state-illustration-max-height: 366px;
--empty-state-illustration-min-width: 100px;
--empty-state-illustration-max-width: 420px;
--empty-state-text-container-max-width: 426px;

container-type: inline-size;
Expand Down Expand Up @@ -57,7 +57,7 @@
.content {
justify-content: center;
display: grid;
grid-template-columns: minmax(var(--empty-state-illustration-min-width), auto) minmax(
grid-template-columns: minmax(auto, var(--empty-state-illustration-max-width)) minmax(
auto,
var(--empty-state-text-container-max-width)
);
Expand Down

0 comments on commit 82142ef

Please sign in to comment.