Increase font size and add margins to empty query message

This commit is contained in:
Eric Kim
2021-05-21 12:14:44 -07:00
committed by Andrew Eisenberg
parent 5315c16338
commit f550cbe98f
2 changed files with 15 additions and 2 deletions

View File

@@ -142,7 +142,7 @@ export function nextSortDirection(direction: SortDirection | undefined, includeU
}
export function emptyQueryResultsMessage(): JSX.Element {
return <span>
return <div className='vscode-codeql__empty-query-message'><span>
This query returned no results. If this isn&apos;t what you were expecting, and for effective query-writing tips, check out the <a href="https://codeql.github.com/docs/codeql-language-guides/">CodeQL language guides</a>.
</span>;
</span></div>;
}

View File

@@ -221,3 +221,16 @@ td.vscode-codeql__path-index-cell {
.vscode-codeql__compare-body > tbody {
vertical-align: top;
}
.vscode-codeql__empty-query-message {
height: 300px;
display: flex;
align-items: center;
justify-content: center;
}
.vscode-codeql__empty-query-message > span {
max-width: 80%;
font-size: 14px;
text-align: center;
}