fix link cell style issue (#21389)

This commit is contained in:
Alan Ren
2022-12-08 21:53:52 -08:00
committed by GitHub
parent d0b2dc702f
commit 17b41ae3d7
2 changed files with 3 additions and 1 deletions

View File

@@ -22,6 +22,8 @@
.resultsMessageValue a:link { .resultsMessageValue a:link {
color: var(--color-grid-link); color: var(--color-grid-link);
text-decoration: underline; text-decoration: underline;
cursor: pointer;
white-space: inherit;
} }
.slick-cell a:hover, .slick-cell a:hover,

View File

@@ -77,7 +77,7 @@ const MIN_GRID_HEIGHT = (MIN_GRID_HEIGHT_ROWS * ROW_HEIGHT) + HEADER_HEIGHT + ES
// performant than trying to parse the string to object. // performant than trying to parse the string to object.
// Regex explaination: after removing the trailing whitespaces, the string must start with '[' (to support arrays) // Regex explaination: after removing the trailing whitespaces, the string must start with '[' (to support arrays)
// or '{'. And there must be a '}' to match the '{'. // or '{'. And there must be a '}' to match the '{'.
const IsJsonRegex = /^\s*\[*\s*{.*?}/g; const IsJsonRegex = /({(.|\s)*?})|(\[(.|\s)*?\])/g;
export class GridPanel extends Disposable { export class GridPanel extends Disposable {
private container = document.createElement('div'); private container = document.createElement('div');