Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
96 changes: 30 additions & 66 deletions docs/examples/microstrip_modes.ipynb

Large diffs are not rendered by default.

8 changes: 4 additions & 4 deletions docs/examples/slotline_modes.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@
},
{
"cell_type": "code",
"execution_count": 3,
"execution_count": null,
"id": "fb5efc7b",
"metadata": {
"execution": {
Expand All @@ -165,10 +165,10 @@
},
"outputs": [],
"source": [
"eps_sub = 9.8\n",
"eps_sub = 4.1\n",
"eps_air = 1.0\n",
"mu_r = 1.0\n",
"omega = 18.0"
"omega = 1.0"
]
},
{
Expand Down Expand Up @@ -481,4 +481,4 @@
},
"nbformat": 4,
"nbformat_minor": 5
}
}
27 changes: 27 additions & 0 deletions docs/stylesheets/interactive.css
Original file line number Diff line number Diff line change
Expand Up @@ -43,3 +43,30 @@
line-height: var(--ptk-output-line-height, 1.35);
white-space: pre;
}

/* mkdocs-jupyter text outputs: clamp to ~10 lines and scroll vertically. */
.jupyter-wrapper .jp-OutputArea .jp-RenderedText.jp-OutputArea-output > pre {
max-height: calc(var(--ptk-notebook-output-lines, 10) * 1.35em) !important;
overflow-y: auto !important;
overflow-x: auto;
display: block;
line-height: 1.35;
box-sizing: border-box;
border: 1px solid var(--md-default-fg-color--lightest);
border-radius: 6px;
background: #ffffff !important;
color: var(--md-default-fg-color, #1f2937) !important;
padding: 0.75rem;
margin: 0;
white-space: pre;
}

/* Keep HTML/interactive outputs full-size with no clipping by default. */
.jupyter-wrapper .jp-OutputArea .jp-RenderedHTMLCommon.jp-OutputArea-output,
.jupyter-wrapper .jp-OutputArea .jp-RenderedHTMLCommon.jp-OutputArea-output * {
max-height: none !important;
}

.jupyter-wrapper .jp-OutputArea .jp-RenderedHTMLCommon.jp-OutputArea-output {
overflow: visible !important;
}
Loading