-
-
Notifications
You must be signed in to change notification settings - Fork 3.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix for codemirror width #11805
fix for codemirror width #11805
Conversation
Thanks for making a pull request to jupyterlab! |
Thanks for submitting your first pull request! You are awesome! 🤗 |
Open question: this changes the width of the input prompt to a constant width. Is this acceptable? Do we need to apply the same change in the output area (I would say yes)?
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @pree-T I made some suggestions. And they are one question regarding the need to apply similar changes to the output area that is likely to be confirmed by others.
packages/cells/style/inputarea.css
Outdated
@@ -59,6 +62,7 @@ | |||
.jp-InputArea-editor { | |||
display: table-row; | |||
margin-left: var(--jp-notebook-padding); | |||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Unneeded empty line
packages/cells/style/inputarea.css
Outdated
@@ -40,6 +42,7 @@ | |||
font-size: var(--jp-code-font-size); | |||
border: var(--jp-border-width) solid transparent; | |||
opacity: var(--jp-cell-prompt-opacity); | |||
width: var(--jp-cell-prompt-width); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could you remove the min-width
rule?
packages/cells/style/inputarea.css
Outdated
} | ||
|
||
.jp-InputArea-editor { | ||
display: table-cell; | ||
width: 100%; | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Unneeded empty line
tsconfigdoc.json
Outdated
@@ -20,274 +20,274 @@ | |||
}, | |||
"references": [ | |||
{ | |||
"path": "./packages/application" | |||
"path": "./packages\\application" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Would you mind reverting the change in this file please?
I looked again at the problematic PR https://github.com/jupyterlab/jupyterlab/pull/11508/files Actually the error comes from the style So could you please replace
And set that table as
|
Sure Sir, I'll make all the necessary changes. Thanks for the guidance . |
#11696 a possible fix for this. Kindly review
References
Code changes
User-facing changes
Backwards-incompatible changes