TC: Added styles for nested templates

Each nesting level now slightly moves the edit control to keep it from
being hidden in the case of a 0-height template