-
Notifications
You must be signed in to change notification settings - Fork 5.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
added white space to bottom of edit files #6804
Conversation
notebook/templates/edit.html
Outdated
@@ -8,7 +8,7 @@ | |||
<link rel="icon" type="image/x-icon" href="{{ base_url | escape }}static/favicons/favicon-file.ico" class="favicon"> | |||
{% endblock %} | |||
</head> | |||
<body> | |||
<body data-edit="edit"> |
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.
My reasoning for doing it this way is that the notebook template has an attribute just like this. It is only ever referenced in this and this CSS file for the purposes of styling.
This allows me to target exclusively edit pages to add the spacer at the bottom.
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.
In that case maybe it should be for consistency:
<body data-edit="edit"> | |
<body data-notebook="edit"> |
Thanks @j-publius for working on this 👍 Would you mind adding a screenshot to the top comment to get an idea of what it looks like? |
Added + updated attribute value for consistency |
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!
Fixes a part of #6785 - Text editor should display a partial view.
New view: