mirror of
https://we.phorge.it/source/phorge.git
synced 2024-12-20 04:20:55 +01:00
Remove extra space under PHUIActionPanel
Summary: If we don't have a state in PHUIActionPanelView, don't set the extra padding to display it. Test Plan: Review in UIExamples. Reviewers: epriestley, btrahan Reviewed By: btrahan Subscribers: Korvin, epriestley Differential Revision: https://secure.phabricator.com/D11814
This commit is contained in:
parent
7ef5c52934
commit
4e348bb04d
3 changed files with 7 additions and 2 deletions
|
@ -122,7 +122,7 @@ return array(
|
|||
'rsrc/css/phui/calendar/phui-calendar.css' => '8675968e',
|
||||
'rsrc/css/phui/phui-action-header-view.css' => '89c497e7',
|
||||
'rsrc/css/phui/phui-action-list.css' => '9ee9910a',
|
||||
'rsrc/css/phui/phui-action-panel.css' => '4bcb288d',
|
||||
'rsrc/css/phui/phui-action-panel.css' => 'd2e088bd',
|
||||
'rsrc/css/phui/phui-box.css' => '7b3a2eed',
|
||||
'rsrc/css/phui/phui-button.css' => 'ffe12633',
|
||||
'rsrc/css/phui/phui-crumbs-view.css' => '594d719e',
|
||||
|
@ -771,7 +771,7 @@ return array(
|
|||
'phrequent-css' => 'ffc185ad',
|
||||
'phriction-document-css' => '7d7f0071',
|
||||
'phui-action-header-view-css' => '89c497e7',
|
||||
'phui-action-panel-css' => '4bcb288d',
|
||||
'phui-action-panel-css' => 'd2e088bd',
|
||||
'phui-box-css' => '7b3a2eed',
|
||||
'phui-button-css' => 'ffe12633',
|
||||
'phui-calendar-css' => '8675968e',
|
||||
|
|
|
@ -83,7 +83,9 @@ final class PHUIActionPanelView extends AphrontTagView {
|
|||
$classes = array();
|
||||
$classes[] = 'phui-action-panel';
|
||||
if ($this->state) {
|
||||
$classes[] = 'phui-action-panel-has-state';
|
||||
$classes[] = $this->state;
|
||||
|
||||
}
|
||||
|
||||
return array(
|
||||
|
|
|
@ -4,6 +4,9 @@
|
|||
|
||||
.phui-action-panel {
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.phui-action-panel-has-state.phui-action-panel {
|
||||
padding-bottom: 44px;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue