Skip to content

Commit

Permalink
set personaltools item required css for all items
Browse files Browse the repository at this point in the history
  • Loading branch information
lenadax committed Sep 12, 2024
1 parent f499c0f commit 184228a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cone/app/browser/layout.py
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,7 @@ def __init__(self, name):
self.name = name

def __call__(self, factory):
factory.css = f'dropdown-item {factory.css or ""}'
personal_tools[self.name] = factory()
return factory

Expand All @@ -135,7 +136,6 @@ class LogoutAction(LinkAction):
icon = 'bi-door-open'
bind = None
target = None
css = 'dropdown-item'

@property
def href(self):
Expand Down

0 comments on commit 184228a

Please sign in to comment.