mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-27 20:13:32 +01:00
Make content hover text use full possible width (#187597)
* combinging the setting of max dimensions on the container and on the contents dom node * adding the css variable in order to be able to specify the max width of the content inside * cleaning the code * changing the name of the variable * cleaning the code * placing the hover max width variable into the others category of vscode-known-variables json file * defining a fall back value of 500 pixels * inlinging the code --------- Co-authored-by: Alexandru Dima <alexdima@microsoft.com>
This commit is contained in:
committed by
GitHub
parent
5055118e96
commit
398e46ca68
@@ -27,7 +27,7 @@
|
||||
}
|
||||
|
||||
.monaco-hover .markdown-hover > .hover-contents:not(.code-hover-contents) {
|
||||
max-width: 500px;
|
||||
max-width: var(--hover-maxWidth, 500px);
|
||||
word-wrap: break-word;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user