Skip to content

Commit

Permalink
fix a small bug
Browse files Browse the repository at this point in the history
  • Loading branch information
Dou Du committed Nov 17, 2022
1 parent 3cd8769 commit f409c16
Showing 1 changed file with 19 additions and 5 deletions.
24 changes: 19 additions & 5 deletions notebook/lattice-vibration/Phonon_2D.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -330,16 +330,30 @@
" display=\"flex\",\n",
" flex_flow=\"column\",\n",
" align_items=\"center\",\n",
")\n",
"\n",
")"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": [
"%%html\n",
"<style>\n",
".box_style{\n",
" border : 2px solid red;\n",
"}\n",
"</style>\n",
"\n",
"display(actions, HBox([handler.view], layout=layout).add_class(\"box_style\"))\n"
"</style>"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": [
"display(actions, HBox([handler.view], layout=layout).add_class(\"box_style\"))"
]
},
{
Expand Down

0 comments on commit f409c16

Please sign in to comment.