Skip to content

Commit 13ec4da

Browse files
committed
Fix overflow issue with data table
Signed-off-by: Liam Barry Allan <[email protected]>
1 parent 299f47e commit 13ec4da

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/language/results/html.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@ exports.generateScroller = (basicSelect) => {
157157
</script>
158158
</head>
159159
<body>
160-
<vscode-data-grid id="scroller"></vscode-data-grid>
160+
<vscode-data-grid id="scroller" style="min-width: max-content;"></vscode-data-grid>
161161
<vscode-divider></vscode-divider>
162162
<p id="nextButton">Execute statement.</p>
163163
</body>
@@ -213,7 +213,7 @@ exports.generateTable = (id, columns, rows) => {
213213
});
214214

215215
let result = {
216-
html: `<vscode-data-grid id="${id}"></vscode-data-grid>`,
216+
html: `<vscode-data-grid id="${id}" style="min-width: max-content;"></vscode-data-grid>`,
217217
js: [
218218
`const ${id} = document.getElementById("${id}");`,
219219
`${id}.columnDefinitions = ${JSON.stringify(columns)};`,

0 commit comments

Comments
 (0)