1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2025-01-27 06:58:17 +01:00

Remove extra workboard margin on mobile

Summary: We have too much space on workboards when displayed on mobile devices.

Test Plan: Shrink browser display, note that all workboards align to common gutters.

Reviewers: epriestley, btrahan

Reviewed By: btrahan

Subscribers: epriestley, Korvin

Differential Revision: https://secure.phabricator.com/D8790
This commit is contained in:
Chad Little 2014-04-16 11:09:53 -07:00
parent f5eb7b6404
commit 2cf2117eee
3 changed files with 8 additions and 2 deletions

View file

@ -148,7 +148,7 @@ return array(
'rsrc/css/phui/phui-tag-view.css' => '295d81c4',
'rsrc/css/phui/phui-text.css' => '23e9b4b7',
'rsrc/css/phui/phui-timeline-view.css' => '23fe340a',
'rsrc/css/phui/phui-workboard-view.css' => 'bf70dd2e',
'rsrc/css/phui/phui-workboard-view.css' => '84f2c272',
'rsrc/css/phui/phui-workpanel-view.css' => '97b69459',
'rsrc/css/sprite-actions.css' => '969ad0e5',
'rsrc/css/sprite-apps-large.css' => '5abf49e9',
@ -763,7 +763,7 @@ return array(
'phui-tag-view-css' => '295d81c4',
'phui-text-css' => '23e9b4b7',
'phui-timeline-view-css' => '23fe340a',
'phui-workboard-view-css' => 'bf70dd2e',
'phui-workboard-view-css' => '84f2c272',
'phui-workpanel-view-css' => '97b69459',
'policy-css' => '957ea14c',
'policy-edit-css' => '05cca26a',

View file

@ -193,6 +193,7 @@ final class PhabricatorProjectBoardViewController
$board_box = id(new PHUIBoxView())
->appendChild($board)
->addClass('project-board-wrapper')
->addMargin(PHUI::MARGIN_LARGE);
return $this->buildApplicationPage(

View file

@ -67,3 +67,8 @@
width: 35px;
margin: 0 3px;
}
.device-phone .project-board-wrapper {
margin-left: 0;
margin-right: 0;
}