From 7817a430a985e8bc887508b3e039357c8b44ddb4 Mon Sep 17 00:00:00 2001 From: object-Object Date: Fri, 29 Mar 2024 17:05:30 -0400 Subject: [PATCH] Improve appearance of pattern rendering dropdown --- .../_templates/index.css.jinja | 6 +++ .../hexcasting/manual_pattern.html.jinja | 51 ++++++++++++------- 2 files changed, 40 insertions(+), 17 deletions(-) diff --git a/doc/src/hexdoc_hexcasting/_templates/index.css.jinja b/doc/src/hexdoc_hexcasting/_templates/index.css.jinja index d0bbb7d44..1f9481c35 100644 --- a/doc/src/hexdoc_hexcasting/_templates/index.css.jinja +++ b/doc/src/hexdoc_hexcasting/_templates/index.css.jinja @@ -70,4 +70,10 @@ img.spell-viz { cursor: pointer; } +.spell-settings-dropdown { + position: absolute; +} +.spell-settings-toggle { + font-size: large; +} diff --git a/doc/src/hexdoc_hexcasting/_templates/pages/hexcasting/manual_pattern.html.jinja b/doc/src/hexdoc_hexcasting/_templates/pages/hexcasting/manual_pattern.html.jinja index be5b09120..d0a92a613 100644 --- a/doc/src/hexdoc_hexcasting/_templates/pages/hexcasting/manual_pattern.html.jinja +++ b/doc/src/hexdoc_hexcasting/_templates/pages/hexcasting/manual_pattern.html.jinja @@ -3,29 +3,46 @@ {% block inner_body %}
- - + > + + + + + + {% for pattern in page.patterns %}