From c2b9dac223b1e94ee1e1ddf0dea044985b9ef955 Mon Sep 17 00:00:00 2001 From: Cherik Date: Mon, 17 Jul 2023 20:40:07 +0330 Subject: [PATCH] fix: make col width important --- package.json | 2 +- src/components/layout/Grid.tsx | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index 7ca3fae..3334925 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@giveth/ui-design-system", - "version": "1.11.12", + "version": "1.11.13", "files": [ "/lib" ], diff --git a/src/components/layout/Grid.tsx b/src/components/layout/Grid.tsx index cd1cf07..000c3e9 100644 --- a/src/components/layout/Grid.tsx +++ b/src/components/layout/Grid.tsx @@ -132,9 +132,9 @@ export const Row = styled.div` const calculateWidth = (w: any) => { if (typeof w === 'number') { - return `width: ${(100 * w) / 12}%`; + return `width: ${(100 * w) / 12}% !important`; } else if (w === 'auto') { - return 'width: auto'; + return 'width: auto !important'; } return ''; };