Widen PHUIPropertyListView when ActionList isn't attached
Summary: This makes PHUIPropertyList display wider when an ActionList isn't present. Test Plan: Review Diff Details in a Diff. Test mobile and desktop layouts. Reviewers: btrahan, epriestley Reviewed By: epriestley Subscribers: epriestley, Korvin Differential Revision: https://secure.phabricator.com/D13568
This commit is contained in:
@@ -127,6 +127,7 @@ final class PHUIPropertyListView extends AphrontView {
|
||||
// If we have an action list, make sure we render a property part, even
|
||||
// if there are no properties. Otherwise, the action list won't render.
|
||||
if ($this->actionList) {
|
||||
$this->classes[] = 'phui-property-list-has-actions';
|
||||
$have_property_part = false;
|
||||
foreach ($this->parts as $part) {
|
||||
if ($part['type'] == 'property') {
|
||||
|
||||
Reference in New Issue
Block a user