Observe newlines when displaying variables (#17343)

This commit is contained in:
Phil Renaud 2023-05-30 16:58:16 -04:00 committed by GitHub
parent 6236cb8f82
commit 038d53c58f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 0 deletions

3
.changelog/17343.txt Normal file
View File

@ -0,0 +1,3 @@
```release-note:bug
ui: preserve newlines when displaying shown variables in non-json mode
```

View File

@ -201,6 +201,9 @@ table.variable-items {
display: grid; display: grid;
grid-template-columns: auto auto 1fr; grid-template-columns: auto auto 1fr;
gap: 0.5rem; gap: 0.5rem;
& > code {
white-space: pre-wrap;
}
} }
} }
} }