1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-12-18 19:40:55 +01:00

Add responsive spacing to comment form info view

Summary: Moves spacing to responsive CSS.

Test Plan: Test mobile, desktop, and tablet breakpoints.

Reviewers: epriestley

Reviewed By: epriestley

Subscribers: Korvin

Differential Revision: https://secure.phabricator.com/D17130
This commit is contained in:
Chad Little 2017-01-02 10:09:20 -08:00
parent cf1ccc995e
commit 34d279abde
3 changed files with 11 additions and 6 deletions

View file

@ -137,7 +137,7 @@ return array(
'rsrc/css/phui/phui-button.css' => '43f4912e',
'rsrc/css/phui/phui-chart.css' => '6bf6f78e',
'rsrc/css/phui/phui-cms.css' => 'be43c8a8',
'rsrc/css/phui/phui-comment-form.css' => 'c953b75e',
'rsrc/css/phui/phui-comment-form.css' => '48fbd65d',
'rsrc/css/phui/phui-comment-panel.css' => 'f50152ad',
'rsrc/css/phui/phui-crumbs-view.css' => 'f82868f2',
'rsrc/css/phui/phui-curtain-view.css' => '947bf1a4',
@ -849,7 +849,7 @@ return array(
'phui-calendar-month-css' => '8e10e92c',
'phui-chart-css' => '6bf6f78e',
'phui-cms-css' => 'be43c8a8',
'phui-comment-form-css' => 'c953b75e',
'phui-comment-form-css' => '48fbd65d',
'phui-comment-panel-css' => 'f50152ad',
'phui-crumbs-view-css' => 'f82868f2',
'phui-curtain-view-css' => '947bf1a4',

View file

@ -347,10 +347,7 @@ class PhabricatorApplicationTransactionCommentView extends AphrontView {
$info_view = $this->getInfoView();
if ($info_view) {
$info_box = id(new PHUIBoxView())
->addMargin(PHUI::MARGIN_LARGE)
->appendChild($info_view);
$form->appendChild($info_box);
$form->appendChild($info_view);
}
$form->appendChild($invisi_bar);

View file

@ -163,3 +163,11 @@ body.device .phui-box.phui-object-box.phui-comment-form-view {
.phui-comment-form-view .aphront-form-error .phui-icon-view {
padding: 4px;
}
.phui-comment-form-view .phui-form-view .phui-info-view {
margin: 16px;
}
.device-phone .phui-comment-form-view .phui-form-view .phui-info-view {
margin: 8px;
}