[mod] simple theme: build design for details (collapsables)

* set border top and bottom on sidebar collasables
* inrease peading on summary so its easier to click on mobile
* remove margins and add flex wrapper to normalize elements in sidebar
This commit is contained in:
mrpaulblack 2023-05-28 00:37:25 +02:00 committed by Markus Heiser
parent b7e315563d
commit f087959b02
6 changed files with 46 additions and 26 deletions

View file

@ -41,7 +41,7 @@
{%- if infoboxes -%}
<div id="infoboxes">
<details open>
<details open class="sidebar-collapsable">
<summary class="title">{{ _('Info') }}</summary>
{%- for infobox in infoboxes -%}
{%- include 'simple/elements/infobox.html' -%}
@ -66,6 +66,7 @@
{%- include 'simple/elements/apis.html' -%}
{%- endif -%}
<div id="sidebar-end-collapsable"></div>
</div>
{% if corrections %}