mirror of
https://github.com/willmiao/ComfyUI-Lora-Manager.git
synced 2026-09-21 03:01:27 -03:00
feat(ui): add setting to keep the action bar visible while scrolling (#1095)
Adds a 'Keep Action Bar Visible' toggle (default off) under Settings > Interface > Layout Settings. When enabled, the controls bar (Refresh, Download, etc.) and the breadcrumb nav are wrapped in a shared sticky container (.sticky-topbar) so both stay pinned as one unit; when disabled, the wrapper is display: contents and the original behavior (only the breadcrumb stays visible) is preserved.
This commit is contained in:
@@ -79,6 +79,9 @@
|
||||
<!-- Group by model toggle -->
|
||||
{{ sm.setting_toggle('groupByModel', 'group_by_model', 'settings.layoutSettings.groupByModel', 'settings.layoutSettings.groupByModelHelp') }}
|
||||
|
||||
<!-- Sticky controls toggle -->
|
||||
{{ sm.setting_toggle('stickyControls', 'sticky_controls', 'settings.layoutSettings.stickyControls', 'settings.layoutSettings.stickyControlsHelp') }}
|
||||
|
||||
{{ sm.setting_select('cardInfoDisplay', 'card_info_display', 'settings.layoutSettings.cardInfoDisplay', [
|
||||
('always', 'settings.layoutSettings.cardInfoDisplayOptions.always'),
|
||||
('hover', 'settings.layoutSettings.cardInfoDisplayOptions.hover'),
|
||||
|
||||
Reference in New Issue
Block a user