diff --git a/aiida_workgraph/utils/__init__.py b/aiida_workgraph/utils/__init__.py index 3768e4c3..b56ab403 100644 --- a/aiida_workgraph/utils/__init__.py +++ b/aiida_workgraph/utils/__init__.py @@ -163,10 +163,31 @@ def svg_to_html(svg_xml: str, width: str = "100%", height: str = "100vh") -> str width: {width}; height: {height}; }} + #fullscreen-btn {{ + margin-left: 10px; + }} + #fullscreen-btn:hover {{ + background-color: #0056b3; + }} + {svg_xml} + """ diff --git a/docs/gallery/autogen/quick_start.py b/docs/gallery/autogen/quick_start.py index 9e7c7b5d..d5df1ed9 100644 --- a/docs/gallery/autogen/quick_start.py +++ b/docs/gallery/autogen/quick_start.py @@ -455,13 +455,17 @@ def add_multiply(x, y, z): # What’s Next # ----------- # -# +------------------------------------+------------------------------------------------------+ -# | `Concepts `__ | A brief introduction of WorkGraph’s main concepts. | -# +------------------------------------+------------------------------------------------------+ -# | `Tutorials `__ | Real-world examples in computational | -# | | materials science and more. | -# +---------------------------+---------------------------------------------------------------+ -# | `HowTo `__ | Advanced topics and tips, e.g., flow control using | -# | | ``if``, ``for``, ``while``, and ``context``. | -# +------------------------------------+------------------------------------------------------+ +# +-----------------------------------------+------------------------------------------------------+ +# | `Concepts <../concept/index.rst>`__ | A brief introduction of WorkGraph’s main concepts. | +# | | | +# | | | +# +-----------------------------------------+------------------------------------------------------+ +# | `Tutorials <../tutorial/index.rst>`__ | Real-world examples in computational materials | +# | | science and more. | +# | | | +# +-----------------------------------------+------------------------------------------------------+ +# | `HowTo <../howto/index.rst>`__ | Advanced topics and tips, e.g flow control using | +# | | ``if``, ``for``, ``while`` and ``context``. | +# | | | +# +-----------------------------------------+------------------------------------------------------+ #