Skip to content

Commit

Permalink
Fix issue joomla-projects#173 , "Tab" style issue
Browse files Browse the repository at this point in the history
  • Loading branch information
davidnguyen-joomlashine committed Jan 2, 2020
1 parent 2c946bc commit 0762cd2
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions administrator/components/com_config/tmpl/component/default.php
Original file line number Diff line number Diff line change
Expand Up @@ -77,9 +77,9 @@
<?php $label = empty($fieldSet->label) ? 'COM_CONFIG_' . $name . '_FIELDSET_LABEL' : $fieldSet->label; ?>

<?php if (!$isGrandchild && $hasParent) : ?>
<fieldset id="fieldset-<?php echo $this->escape($name); ?>" class="options-grid-form options-grid-form-full">
<legend><?php echo Text::_($fieldSet->label); ?></legend>
<div>
<fieldset id="fieldset-<?php echo $this->escape($name); ?>" class="j-card options-grid-form options-grid-form-full">
<div class="j-card-header"><?php echo Text::_($fieldSet->label); ?></div>
<div class="j-card-body">
<?php elseif (!$hasParent) : ?>
<?php if ($opentab) : ?>
<?php if ($opentab > 1) : ?>
Expand All @@ -91,15 +91,15 @@
<?php endif; ?>

<section orientation="vertical" id="<?php echo $name; ?>" class="<?php echo $dataShowOn; ?>" name="<?php echo Text::_($label); ?>">
<div class="<?php echo ($name != 'permissions') ? 'j-card p-4' : ''; ?>">
<div class="<?php echo ($name != 'permissions') ? '' : ''; ?>">

<?php $opentab = 1; ?>

<?php if (!$hasChildren) : ?>

<fieldset id="fieldset-<?php echo $this->escape($name); ?>" class="options-grid-form options-grid-form-full">
<legend><?php echo Text::_($fieldSet->label); ?></legend>
<div>
<fieldset id="fieldset-<?php echo $this->escape($name); ?>" class="j-card options-grid-form options-grid-form-full">
<div class="j-card-header"><?php echo Text::_($fieldSet->label); ?></div>
<div class="j-card-body">
<?php $opentab = 2; ?>
<?php endif; ?>
<?php endif; ?>
Expand Down

0 comments on commit 0762cd2

Please sign in to comment.