Skip to content

Commit 6c27189

Browse files
Adjust styling to not use --design-unit
1 parent 579042c commit 6c27189

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

extensions/ql-vscode/src/view/common/DataGrid.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ import { styled } from "styled-components";
1313
const StyledDataGrid = styled.div<{ $gridTemplateColumns: string | number }>`
1414
display: grid;
1515
grid-template-columns: ${(props) => props.$gridTemplateColumns};
16-
padding: calc((var(--design-unit) / 4) * 1px) 0;
1716
box-sizing: border-box;
1817
width: 100%;
1918
background: transparent;
@@ -54,7 +53,7 @@ const StyledDataGridCell = styled.div<{
5453
}>`
5554
grid-row: ${(props) => props.$gridRow};
5655
grid-column: ${(props) => props.$gridColumn};
57-
padding: calc(var(--design-unit) * 1px) calc(var(--design-unit) * 3px);
56+
padding: 4px 12px;
5857
`;
5958

6059
interface DataGridCellProps {

0 commit comments

Comments
 (0)