diff --git a/src/View/Helper/BootstrapHelper.php b/src/View/Helper/BootstrapHelper.php
index 7d949b5..cf82729 100644
--- a/src/View/Helper/BootstrapHelper.php
+++ b/src/View/Helper/BootstrapHelper.php
@@ -230,7 +230,7 @@ class BootstrapTabs extends BootstrapGeneric
'vertical' => false,
'vertical-size' => 3,
'card' => false,
- 'header-variant' => 'light',
+ 'header-variant' => '',
'body-variant' => '',
'body-class' => [],
'nav-class' => [],
@@ -247,7 +247,7 @@ class BootstrapTabs extends BootstrapGeneric
$this->allowedOptionValues = [
'justify' => [false, 'center', 'end'],
'body-variant' => array_merge(BootstrapGeneric::$variants, ['']),
- 'header-variant' => BootstrapGeneric::$variants,
+ 'header-variant' => array_merge(BootstrapGeneric::$variants, ['']),
];
$this->processOptions($options);
}
diff --git a/templates/Instance/settings.php b/templates/Instance/settings.php
index 5824ca9..766e0d0 100644
--- a/templates/Instance/settings.php
+++ b/templates/Instance/settings.php
@@ -15,7 +15,7 @@ $settingTable = genNavcard($settingsProvider, $this);
-
+
=
$this->element('Settings/search', [
]);
@@ -100,7 +100,9 @@ function genSection($sectionName, $subSectionSettings, $appView)
]);
$sectionContent[] = $panelHTML;
} else {
- $sectionContent[] = sprintf('
%s
', getResolvableID($sectionName), h($sectionName));
+ if (count($subSectionSettings) > 0) {
+ $sectionContent[] = sprintf('%s
', getResolvableID($sectionName), h($sectionName));
+ }
foreach ($subSectionSettings as $panelName => $panelSettings) {
if (!empty($panelSettings)) {
$panelHTML = $appView->element('Settings/panel', [
diff --git a/templates/element/Settings/panel.php b/templates/element/Settings/panel.php
index c63f104..20e4a8f 100644
--- a/templates/element/Settings/panel.php
+++ b/templates/element/Settings/panel.php
@@ -49,8 +49,8 @@ if (isLeaf($panelSettings)) {
'mb-4',
'rounded',
'settings-group',
- (!empty($groupIssueSeverity) ? "callout callout-${groupIssueSeverity}" : ''),
- ($this->get('darkMode') ? 'bg-dark' : 'bg-light')
+ 'callout',
+ (!empty($groupIssueSeverity) ? "callout-${groupIssueSeverity}" : ''),
],
], $panelHTML);
}
diff --git a/templates/element/Settings/search.php b/templates/element/Settings/search.php
index 3cdd234..ceca462 100644
--- a/templates/element/Settings/search.php
+++ b/templates/element/Settings/search.php
@@ -1,4 +1,4 @@
-
+