Skip to content

Commit

Permalink
Make home notebook full width (#182)
Browse files Browse the repository at this point in the history
Jupyter adds a `max-width: calc(100% - 14ex)` CSS property to the output_subarea class. 
This PR overwrites it with `max-width: none`  to allow container widgets
to take up the full width of the notebook.
  • Loading branch information
edan-bainglass authored Nov 21, 2024
1 parent d1ae1cc commit 833d800
Showing 1 changed file with 20 additions and 1 deletion.
21 changes: 20 additions & 1 deletion start.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,25 @@
"}"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {
"vscode": {
"languageId": "html"
}
},
"outputs": [],
"source": [
"%%html\n",
"\n",
"<style>\n",
" .output_subarea {\n",
" max-width: none !important;\n",
" }\n",
"</style>\n"
]
},
{
"cell_type": "code",
"execution_count": null,
Expand Down Expand Up @@ -81,7 +100,7 @@
],
"metadata": {
"kernelspec": {
"display_name": "Python 3 (ipykernel)",
"display_name": "base",
"language": "python",
"name": "python3"
},
Expand Down

0 comments on commit 833d800

Please sign in to comment.