Make AphrontErrorView work on devices
Summary: This is the last Paste UI element that doesn't work properly on tablets/phones. Make it flexible. Also add empty states to Paste. Test Plan: Viewed various errors, and `/uiexample/errors/`. Reviewers: btrahan Reviewed By: btrahan CC: aran Differential Revision: https://secure.phabricator.com/D3429
This commit is contained in:
@@ -105,11 +105,6 @@ final class PhabricatorProjectCreateController
|
||||
->setValue($profile->getBlurb()));
|
||||
|
||||
if ($request->isAjax()) {
|
||||
|
||||
if ($error_view) {
|
||||
$error_view->setWidth(AphrontErrorView::WIDTH_DIALOG);
|
||||
}
|
||||
|
||||
$dialog = id(new AphrontDialogView())
|
||||
->setUser($user)
|
||||
->setWidth(AphrontDialogView::WIDTH_FORM)
|
||||
|
||||
Reference in New Issue
Block a user