File tree Expand file tree Collapse file tree 3 files changed +6
-6
lines changed
extensions/ql-vscode/src/view Expand file tree Collapse file tree 3 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -86,7 +86,7 @@ export const CodeSnippetMessage = ({
8686 } ) }
8787 { children && (
8888 < >
89- < VerticalSpace size = { 2 } />
89+ < VerticalSpace $ size= { 2 } />
9090 { children }
9191 </ >
9292 ) }
Original file line number Diff line number Diff line change 11import { styled } from "styled-components" ;
22
3- export const VerticalSpace = styled . div < { size : 1 | 2 | 3 } > `
3+ export const VerticalSpace = styled . div < { $ size : 1 | 2 | 3 } > `
44 flex: 0 0 auto;
5- height: ${ ( props ) => 0.5 * props . size } em;
5+ height: ${ ( props ) => 0.5 * props . $ size} em;
66` ;
Original file line number Diff line number Diff line change @@ -48,9 +48,9 @@ export const DataFlowPaths = ({
4848
4949 return (
5050 < >
51- < VerticalSpace size = { 2 } />
51+ < VerticalSpace $ size= { 2 } />
5252 < SectionTitle > { ruleDescription } </ SectionTitle >
53- < VerticalSpace size = { 2 } />
53+ < VerticalSpace $ size= { 2 } />
5454
5555 < PathsContainer >
5656 < PathDetailsContainer >
@@ -66,7 +66,7 @@ export const DataFlowPaths = ({
6666 </ PathDropdownContainer >
6767 </ PathsContainer >
6868
69- < VerticalSpace size = { 2 } />
69+ < VerticalSpace $ size= { 2 } />
7070 < CodePath
7171 codeFlow = { selectedCodeFlow }
7272 severity = { severity }
You can’t perform that action at this time.
0 commit comments