Fix mobile action menus in Phriction
Summary: Fixes T6963. Long term will likely make this more like other document views, but not worth the time right now since this is only location. Test Plan: Review Phriction document at desktop and mobile breakpoints. Click menu and see menu. Reviewers: btrahan, epriestley Reviewed By: epriestley Subscribers: Korvin, epriestley Maniphest Tasks: T6963 Differential Revision: https://secure.phabricator.com/D11420
This commit is contained in:
@@ -200,11 +200,14 @@ final class PhrictionDocumentController
|
||||
$prop_list = new PHUIPropertyGroupView();
|
||||
$prop_list->addPropertyList($properties);
|
||||
}
|
||||
$action_id = celerity_generate_unique_node_id();
|
||||
$actions->setID($action_id);
|
||||
|
||||
$page_content = id(new PHUIDocumentView())
|
||||
->setOffset(true)
|
||||
->setFontKit(PHUIDocumentView::FONT_SOURCE_SANS)
|
||||
->setHeader($header)
|
||||
->setActionListID($action_id)
|
||||
->appendChild(
|
||||
array(
|
||||
$actions,
|
||||
|
||||
Reference in New Issue
Block a user