1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-03 21:27:25 +02:00

Styling tweak to admin 'tabbed' layout.

This commit is contained in:
Cameron
2021-01-25 10:13:32 -08:00
parent aa1a19b1dd
commit 8e54de7c0c
2 changed files with 2 additions and 3 deletions

View File

@@ -56,7 +56,7 @@ class tabbed
foreach ($admin_cat['id'] as $id => $cat_id)
{
$cls = ($id == 1) ? "active" : "";
$text .= "<div class='tab-pane {$cls} adminform' style='width:95%' id='core-main-{$id}'>".$this->renderCat($id)."</div>";
$text .= "<div class='tab-pane {$cls} adminform' style='padding-top:10px' id='core-main-{$id}'>".$this->renderCat($id)."</div>";
}
$text .= "</div>";
$text .= "</div>";
@@ -171,4 +171,3 @@ class tabbed
}
}
?>

View File

@@ -1468,7 +1468,7 @@ i.e-cat_users-32{ background-position: -555px 0; width: 32px; height: 32px; }
break;
case 'div':
$text .= "<div class='core-mainpanel-block '><a data-toggle='tooltip' class='core-mainpanel-link-icon btn btn-default btn-secondary muted' href='".$link."' title='{$description}'>".$icon."
$text .= "<div class='core-mainpanel-block col-md-2'><a data-toggle='tooltip' class='core-mainpanel-link-icon btn btn-default btn-secondary muted' href='".$link."' title='{$description}'>".$icon."
<small class='core-mainpanel-link-text'>".$tp->toHTML($title,FALSE,"defs, emotes_off")."</small></a>
</div>";
break;