* [misc] support for hiding tabs nav when there is only one guide type.
This commit is contained in:
@@ -185,7 +185,7 @@ div
|
||||
div
|
||||
(
|
||||
setID('sidebar'), // 侧边栏。Sidebar.
|
||||
setClass('absolute top-0 bottom-0 right-0 border-l'),
|
||||
setClass('absolute top-0 bottom-0 right-0 border-l', count($groupedGuides) === 1 ? 'is-single-type-mode' : ''),
|
||||
style::width('--sidebar-width'),
|
||||
($currentGuide && $currentTask) ? on::init()->call('activeTask', $currentGuide, $currentTask) : null,
|
||||
h::header
|
||||
|
||||
Reference in New Issue
Block a user