Page MenuHomePhabricator

D21440.id51038.diff
No OneTemporary

D21440.id51038.diff

diff --git a/resources/celerity/map.php b/resources/celerity/map.php
--- a/resources/celerity/map.php
+++ b/resources/celerity/map.php
@@ -9,7 +9,7 @@
'names' => array(
'conpherence.pkg.css' => '0e3cf785',
'conpherence.pkg.js' => '020aebcf',
- 'core.pkg.css' => '2ffd6897',
+ 'core.pkg.css' => 'b13bef94',
'core.pkg.js' => 'adc34883',
'dark-console.pkg.js' => '187792c2',
'differential.pkg.css' => '5c459f92',
@@ -137,7 +137,7 @@
'rsrc/css/phui/object-item/phui-oi-color.css' => 'b517bfa0',
'rsrc/css/phui/object-item/phui-oi-drag-ui.css' => 'da15d3dc',
'rsrc/css/phui/object-item/phui-oi-flush-ui.css' => '490e2e2e',
- 'rsrc/css/phui/object-item/phui-oi-list-view.css' => 'ecd651d5',
+ 'rsrc/css/phui/object-item/phui-oi-list-view.css' => 'af98a277',
'rsrc/css/phui/object-item/phui-oi-simple-ui.css' => '6a30fa46',
'rsrc/css/phui/phui-action-list.css' => '1b0085b2',
'rsrc/css/phui/phui-action-panel.css' => '6c386cbf',
@@ -874,7 +874,7 @@
'phui-oi-color-css' => 'b517bfa0',
'phui-oi-drag-ui-css' => 'da15d3dc',
'phui-oi-flush-ui-css' => '490e2e2e',
- 'phui-oi-list-view-css' => 'ecd651d5',
+ 'phui-oi-list-view-css' => 'af98a277',
'phui-oi-simple-ui-css' => '6a30fa46',
'phui-pager-css' => 'd022c7ad',
'phui-pinboard-view-css' => '1f08f5d8',
diff --git a/src/view/phui/PHUIObjectItemView.php b/src/view/phui/PHUIObjectItemView.php
--- a/src/view/phui/PHUIObjectItemView.php
+++ b/src/view/phui/PHUIObjectItemView.php
@@ -816,6 +816,23 @@
$box,
));
+ if ($this->menu) {
+ $grid_view = id(new FuelGridView())
+ ->addClass('fuel-grid-tablet');
+ $grid_row = $grid_view->newRow();
+
+ $grid_row->newCell()
+ ->setContent($frame_content);
+
+ $menu = $this->menu;
+
+ $grid_row->newCell()
+ ->addClass('phui-oi-menu')
+ ->setContent($menu);
+
+ $frame_content = $grid_view;
+ }
+
$frame_cover = null;
if ($this->coverImage) {
$cover_image = phutil_tag(
@@ -843,22 +860,7 @@
$frame_content,
));
- $grid_view = id(new FuelGridView())
- ->addClass('fuel-grid-tablet');
- $grid_row = $grid_view->newRow();
-
- $grid_row->newCell()
- ->setContent($frame);
-
- if ($this->menu) {
- $menu = $this->menu;
-
- $grid_row->newCell()
- ->addClass('phui-oi-menu')
- ->setContent($menu);
- }
-
- return $grid_view;
+ return $frame;
}
private function renderStatusIcon($icon, $label) {
diff --git a/webroot/rsrc/css/phui/object-item/phui-oi-list-view.css b/webroot/rsrc/css/phui/object-item/phui-oi-list-view.css
--- a/webroot/rsrc/css/phui/object-item/phui-oi-list-view.css
+++ b/webroot/rsrc/css/phui/object-item/phui-oi-list-view.css
@@ -736,10 +736,9 @@
.device-desktop .phui-oi-menu,
.device-tablet .phui-oi-menu {
width: 200px;
- border-width: 0 0 1px 1px;
+ border-width: 0 0 0 1px;
}
.device-phone .phui-oi-menu {
- border-width: 0 0 1px;
- margin-bottom: 12px;
+ border-width: 1px 0 0;
}

File Metadata

Mime Type
text/plain
Expires
Fri, Mar 28, 4:53 AM (6 d, 12 h ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
7230730
Default Alt Text
D21440.id51038.diff (3 KB)

Event Timeline