Skip to content

Commit

Permalink
Merge pull request #308 from plone/toolbar-tweaks
Browse files Browse the repository at this point in the history
add nav class for more coherent styling
  • Loading branch information
petschki committed May 18, 2022
2 parents 6b0267d + 30e39b1 commit 78b72a0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion news/303.feature
@@ -1,2 +1,2 @@
Reimplement dropout toolbar submenus and collapsed icons
Reimplement dropout toolbar submenus and collapsed icons.
[petschki, agitator]
4 changes: 2 additions & 2 deletions plone/app/layout/viewlets/toolbar.pt
Expand Up @@ -10,7 +10,7 @@
<div id="edit-zone" role="toolbar"
class="pat-toolbar" data-bs-scroll="true">

<div class="toolbar-header">
<div class="toolbar-header nav">
<a class="toolbar-collapse" aria-label="Unpin" href="#edit-zone">
<tal:icon tal:replace="structure python:icons.tag('arrow-bar-left')" />
</a>
Expand All @@ -26,7 +26,7 @@
</li>
</ul>

<div tal:condition="personal_bar/user_actions" class="personaltools-wrapper ${python:'dropend' if toolbar_pos == 'side' else ''}">
<div tal:condition="personal_bar/user_actions" class="personaltools-wrapper nav ${python:'dropend' if toolbar_pos == 'side' else ''}">

<a id="personaltools-menulink"
class="nav-link dropdown-toggle"
Expand Down

0 comments on commit 78b72a0

Please sign in to comment.