Skip to content

Commit 2cf2117

Browse files
committed
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
1 parent f5eb7b6 commit 2cf2117

File tree

3 files changed

+8
-2
lines changed

3 files changed

+8
-2
lines changed

resources/celerity/map.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@
148148
'rsrc/css/phui/phui-tag-view.css' => '295d81c4',
149149
'rsrc/css/phui/phui-text.css' => '23e9b4b7',
150150
'rsrc/css/phui/phui-timeline-view.css' => '23fe340a',
151-
'rsrc/css/phui/phui-workboard-view.css' => 'bf70dd2e',
151+
'rsrc/css/phui/phui-workboard-view.css' => '84f2c272',
152152
'rsrc/css/phui/phui-workpanel-view.css' => '97b69459',
153153
'rsrc/css/sprite-actions.css' => '969ad0e5',
154154
'rsrc/css/sprite-apps-large.css' => '5abf49e9',
@@ -763,7 +763,7 @@
763763
'phui-tag-view-css' => '295d81c4',
764764
'phui-text-css' => '23e9b4b7',
765765
'phui-timeline-view-css' => '23fe340a',
766-
'phui-workboard-view-css' => 'bf70dd2e',
766+
'phui-workboard-view-css' => '84f2c272',
767767
'phui-workpanel-view-css' => '97b69459',
768768
'policy-css' => '957ea14c',
769769
'policy-edit-css' => '05cca26a',

src/applications/project/controller/PhabricatorProjectBoardViewController.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -193,6 +193,7 @@ public function processRequest() {
193193

194194
$board_box = id(new PHUIBoxView())
195195
->appendChild($board)
196+
->addClass('project-board-wrapper')
196197
->addMargin(PHUI::MARGIN_LARGE);
197198

198199
return $this->buildApplicationPage(

webroot/rsrc/css/phui/phui-workboard-view.css

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,3 +67,8 @@
6767
width: 35px;
6868
margin: 0 3px;
6969
}
70+
71+
.device-phone .project-board-wrapper {
72+
margin-left: 0;
73+
margin-right: 0;
74+
}

0 commit comments

Comments
 (0)