From 35506e44e39de89fb56e545553dfc8750913ba43 Mon Sep 17 00:00:00 2001 From: lavanya Date: Thu, 18 Jul 2024 15:29:14 +0530 Subject: [PATCH] Resolved the issue #514 --- src/components/character/Donate.module.css | 2 +- src/components/examples/ExamplesList.module.css | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/components/character/Donate.module.css b/src/components/character/Donate.module.css index d321063c..149e2d46 100644 --- a/src/components/character/Donate.module.css +++ b/src/components/character/Donate.module.css @@ -1,7 +1,7 @@ .root { position: fixed; top: 130px; - right: var(--margin); + right: calc(var(--margin) - 1cm); width: var(--col1); float: right; text-align: center; diff --git a/src/components/examples/ExamplesList.module.css b/src/components/examples/ExamplesList.module.css index 4a2872e9..996c2fc4 100644 --- a/src/components/examples/ExamplesList.module.css +++ b/src/components/examples/ExamplesList.module.css @@ -42,7 +42,8 @@ } .item { - flex-basis: calc(100% / 5); + flex: 0 0 calc(25% - 2 * var(--gutter)); + max-width: calc(25% - 2 * var(--gutter)); & h4 { font-size: var(--text-regular);