Navigation Menu

Skip to content

Commit

Permalink
Minor tweak to admin stylesheet padding in Inputfields
Browse files Browse the repository at this point in the history
  • Loading branch information
ryancramerdesign committed Apr 29, 2011
1 parent bbe3ccf commit d72bacb
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion wire/modules/Process/ProcessPageAdd/ProcessPageAdd.module
Expand Up @@ -96,7 +96,7 @@ class ProcessPageAdd extends Process {
$defaultTemplateId = $this->parent->template->childrenTemplatesID;

} else if($this->parent->numChildren > 0) {
$sibling = $this->parent->child('sort=-created, limit=1, status<' . Page::statusUnpublished);
$sibling = $this->parent->child('sort=-created, status<' . Page::statusUnpublished);
if($sibling && $sibling->id) $defaultTemplateId = $sibling->template->id;
} else {
$defaultTemplateId = $this->parent->template->id;
Expand Down
3 changes: 2 additions & 1 deletion wire/templates-admin/styles/ui.css
Expand Up @@ -70,7 +70,8 @@
padding-right: 0.25em;
}

.Inputfields li > .ui-widget-content > p {
.Inputfields li > .ui-widget-content > p,
.Inputfields li > .ui-widget-content > ul.Inputfields {
margin-top: 0;
}

Expand Down

0 comments on commit d72bacb

Please sign in to comment.