Skip to content

Commit

Permalink
fix: make col width important
Browse files Browse the repository at this point in the history
  • Loading branch information
MohammadPCh committed Jul 17, 2023
1 parent 5d9e116 commit c2b9dac
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@giveth/ui-design-system",
"version": "1.11.12",
"version": "1.11.13",
"files": [
"/lib"
],
Expand Down
4 changes: 2 additions & 2 deletions src/components/layout/Grid.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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 '';
};
Expand Down

0 comments on commit c2b9dac

Please sign in to comment.