mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-22 23:02:42 +01:00
Fix notice spacing on table views
Summary: When a notice is in a table view in a two column layout, reset the margins. Test Plan: Visit OwnerDetails with no paths set. Reviewers: epriestley Reviewed By: epriestley Subscribers: Korvin Differential Revision: https://secure.phabricator.com/D17792
This commit is contained in:
parent
6bfaf31c0a
commit
d70d09c02c
3 changed files with 11 additions and 7 deletions
|
@ -9,7 +9,7 @@ return array(
|
||||||
'names' => array(
|
'names' => array(
|
||||||
'conpherence.pkg.css' => 'ff161f2d',
|
'conpherence.pkg.css' => 'ff161f2d',
|
||||||
'conpherence.pkg.js' => 'b5b51108',
|
'conpherence.pkg.js' => 'b5b51108',
|
||||||
'core.pkg.css' => 'c54a8bec',
|
'core.pkg.css' => '84ce260a',
|
||||||
'core.pkg.js' => '47a69358',
|
'core.pkg.js' => '47a69358',
|
||||||
'darkconsole.pkg.js' => '1f9a31bc',
|
'darkconsole.pkg.js' => '1f9a31bc',
|
||||||
'differential.pkg.css' => '90b30783',
|
'differential.pkg.css' => '90b30783',
|
||||||
|
@ -32,7 +32,7 @@ return array(
|
||||||
'rsrc/css/aphront/notification.css' => '3f6c89c9',
|
'rsrc/css/aphront/notification.css' => '3f6c89c9',
|
||||||
'rsrc/css/aphront/panel-view.css' => '8427b78d',
|
'rsrc/css/aphront/panel-view.css' => '8427b78d',
|
||||||
'rsrc/css/aphront/phabricator-nav-view.css' => 'faf6a6fc',
|
'rsrc/css/aphront/phabricator-nav-view.css' => 'faf6a6fc',
|
||||||
'rsrc/css/aphront/table-view.css' => '6ca8e057',
|
'rsrc/css/aphront/table-view.css' => '34cf86b4',
|
||||||
'rsrc/css/aphront/tokenizer.css' => '9a8cb501',
|
'rsrc/css/aphront/tokenizer.css' => '9a8cb501',
|
||||||
'rsrc/css/aphront/tooltip.css' => '173b9431',
|
'rsrc/css/aphront/tooltip.css' => '173b9431',
|
||||||
'rsrc/css/aphront/typeahead-browse.css' => '8904346a',
|
'rsrc/css/aphront/typeahead-browse.css' => '8904346a',
|
||||||
|
@ -549,7 +549,7 @@ return array(
|
||||||
'aphront-list-filter-view-css' => '5d6f0526',
|
'aphront-list-filter-view-css' => '5d6f0526',
|
||||||
'aphront-multi-column-view-css' => '84cc6640',
|
'aphront-multi-column-view-css' => '84cc6640',
|
||||||
'aphront-panel-view-css' => '8427b78d',
|
'aphront-panel-view-css' => '8427b78d',
|
||||||
'aphront-table-view-css' => '6ca8e057',
|
'aphront-table-view-css' => '34cf86b4',
|
||||||
'aphront-tokenizer-control-css' => '9a8cb501',
|
'aphront-tokenizer-control-css' => '9a8cb501',
|
||||||
'aphront-tooltip-css' => '173b9431',
|
'aphront-tooltip-css' => '173b9431',
|
||||||
'aphront-typeahead-control-css' => '8a84cc7d',
|
'aphront-typeahead-control-css' => '8a84cc7d',
|
||||||
|
|
|
@ -323,6 +323,10 @@ final class PhabricatorOwnersDetailController
|
||||||
'wide',
|
'wide',
|
||||||
));
|
));
|
||||||
|
|
||||||
|
if ($info) {
|
||||||
|
$table->setNotice($info);
|
||||||
|
}
|
||||||
|
|
||||||
$header = id(new PHUIHeaderView())
|
$header = id(new PHUIHeaderView())
|
||||||
->setHeader(pht('Paths'))
|
->setHeader(pht('Paths'))
|
||||||
->setHeaderIcon('fa-folder-open');
|
->setHeaderIcon('fa-folder-open');
|
||||||
|
@ -332,10 +336,6 @@ final class PhabricatorOwnersDetailController
|
||||||
->setBackground(PHUIObjectBoxView::BLUE_PROPERTY)
|
->setBackground(PHUIObjectBoxView::BLUE_PROPERTY)
|
||||||
->setTable($table);
|
->setTable($table);
|
||||||
|
|
||||||
if ($info) {
|
|
||||||
$box->setInfoView($info);
|
|
||||||
}
|
|
||||||
|
|
||||||
return $box;
|
return $box;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -29,6 +29,10 @@
|
||||||
border-bottom: 1px solid {$thinblueborder};
|
border-bottom: 1px solid {$thinblueborder};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.phui-two-column-view .aphront-table-notice .phui-info-view {
|
||||||
|
margin: 0;
|
||||||
|
}
|
||||||
|
|
||||||
.aphront-table-view tr.alt {
|
.aphront-table-view tr.alt {
|
||||||
background: {$lightgreybackground};
|
background: {$lightgreybackground};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue