File tree Expand file tree Collapse file tree
extensions/ql-vscode/src/view Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ import { styled } from "styled-components";
1313
1414const StyledDataGrid = styled . div < { $gridTemplateColumns : string | number } > `
1515 display: grid;
16- grid-template-columns: ${ ( props ) => props . $gridTemplateColumns } ;
16+ grid-template-columns: ${ ( props ) => ` ${ props . $gridTemplateColumns } ` } ;
1717 box-sizing: border-box;
1818 width: 100%;
1919 background: transparent;
Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ const StyledButton = styled.button<{ $size?: Size }>`
77 color: var(--vscode-textLink-foreground);
88 border: none;
99 cursor: pointer;
10- font-size: ${ ( props ) => props . $size ?? "1em" } ;
10+ font-size: ${ ( props ) => ( props . $size ? ` ${ props . $size } ` : "1em" ) } ;
1111 padding: 0;
1212` ;
1313
Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ const TableContainer = styled.div<TableContainerProps>`
1717 // minimum width of 1fr is auto, not 0.
1818 // https://css-tricks.com/equal-width-columns-in-css-grid-are-kinda-weird/
1919 grid-template-columns: repeat(
20- ${ ( props ) => props . $columnCount } ,
20+ ${ ( props ) => Number ( props . $columnCount ) } ,
2121 minmax(0, 1fr)
2222 );
2323 max-width: 45rem;
You can’t perform that action at this time.
0 commit comments