1
0
mirror of https://github.com/flextype/flextype.git synced 2025-08-18 10:51:21 +02:00

feat(form-plugin): update styles for tabs navigation

This commit is contained in:
Awilum
2020-02-11 17:49:26 +03:00
parent 0126946508
commit bbcbb38378

View File

@@ -164,7 +164,7 @@ class FormController extends Controller
// Go through all sections and create nav items
foreach ($fieldset['sections'] as $key => $section) {
$form .= '<a href="javascript:;" class="block opacity-90 p-2 pl-4 hover:bg-dark-muted hover:opacity-100 tabs__nav__link ' . ($key === 'main' ? 'tabs__nav__link--active' : '') . '">' . __($section['title']) . '</a>';
$form .= '<a href="javascript:;" class="tabs__nav__link ' . ($key === 'main' ? 'tabs__nav__link--active' : '') . '">' . __($section['title']) . '</a>';
}
$form .= '</div></nav>';