backoffice: use a real button for sidebar toggle (#78031)
gitea/wcs/pipeline/head This commit looks good
Details
gitea/wcs/pipeline/head This commit looks good
Details
This commit is contained in:
parent
56f20bcf29
commit
aa846861e0
|
@ -1195,6 +1195,7 @@ ul.multipage li.type-page {
|
|||
|
||||
#sidebar-toggle {
|
||||
display: block;
|
||||
padding: 0;
|
||||
text-align: center;
|
||||
z-index: 10;
|
||||
top: 0;
|
||||
|
@ -1207,7 +1208,7 @@ ul.multipage li.type-page {
|
|||
font-size: 15px;
|
||||
border-bottom-right-radius: 10px;
|
||||
width: 6px;
|
||||
cursor: pointer;
|
||||
border: none;
|
||||
}
|
||||
|
||||
p#for-more-info {
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
{% extends "gadjo/base.html" %}
|
||||
{% load i18n %}
|
||||
|
||||
{% block page-title %}{{ page_title }} | {% firstof global_title site_name %}{% endblock %}
|
||||
{% block site-title %}{{ site_name }}{% endblock %}
|
||||
|
@ -53,7 +54,7 @@
|
|||
{% block sidebar %}
|
||||
{% if sidebar or has_sidebar %}
|
||||
<aside id="sidebar">
|
||||
<span id="sidebar-toggle">⁞</span>
|
||||
<button id="sidebar-toggle" aria-label="{% trans "Toggle sidebar" %}">⁞</button>
|
||||
<div id="sticky-sidebar">
|
||||
{% block sidebar-content %}
|
||||
{{ sidebar|safe }}
|
||||
|
|
Loading…
Reference in New Issue