mirror of
https://we.phorge.it/source/phorge.git
synced 2025-02-04 02:48:25 +01:00
Keep menubar from spazzing out in narrow screens
Summary: If you resize your window to be very narrow, the menu bar spazzes out right now. Prevent it from developing all sorts of weird internal linewrapping. Test Plan: Narrowed my browser window, header didn't spaz out. Reviewed By: jungejason Reviewers: aran, jungejason, tuomaspelkonen CC: aran, jungejason Differential Revision: 428
This commit is contained in:
parent
d52cf835a9
commit
1c5b31d397
3 changed files with 37 additions and 35 deletions
|
@ -1032,7 +1032,7 @@ celerity_register_resource_map(array(
|
||||||
),
|
),
|
||||||
'phabricator-standard-page-view' =>
|
'phabricator-standard-page-view' =>
|
||||||
array(
|
array(
|
||||||
'uri' => '/res/b90eb694/rsrc/css/application/base/standard-page-view.css',
|
'uri' => '/res/fe3c801d/rsrc/css/application/base/standard-page-view.css',
|
||||||
'type' => 'css',
|
'type' => 'css',
|
||||||
'requires' =>
|
'requires' =>
|
||||||
array(
|
array(
|
||||||
|
@ -1103,7 +1103,23 @@ celerity_register_resource_map(array(
|
||||||
'uri' => '/res/pkg/33f413ef/typeahead.pkg.js',
|
'uri' => '/res/pkg/33f413ef/typeahead.pkg.js',
|
||||||
'type' => 'js',
|
'type' => 'js',
|
||||||
),
|
),
|
||||||
'be386945' =>
|
'c8f4dac5' =>
|
||||||
|
array (
|
||||||
|
'name' => 'workflow.pkg.js',
|
||||||
|
'symbols' =>
|
||||||
|
array (
|
||||||
|
0 => 'javelin-mask',
|
||||||
|
1 => 'javelin-workflow',
|
||||||
|
2 => 'javelin-behavior-workflow',
|
||||||
|
3 => 'javelin-behavior-aphront-form-disable-on-submit',
|
||||||
|
4 => 'phabricator-keyboard-shortcut-manager',
|
||||||
|
5 => 'phabricator-keyboard-shortcut',
|
||||||
|
6 => 'javelin-behavior-phabricator-keyboard-shortcuts',
|
||||||
|
),
|
||||||
|
'uri' => '/res/pkg/c8f4dac5/workflow.pkg.js',
|
||||||
|
'type' => 'js',
|
||||||
|
),
|
||||||
|
'ca51195b' =>
|
||||||
array (
|
array (
|
||||||
'name' => 'core.pkg.css',
|
'name' => 'core.pkg.css',
|
||||||
'symbols' =>
|
'symbols' =>
|
||||||
|
@ -1124,25 +1140,9 @@ celerity_register_resource_map(array(
|
||||||
13 => 'phabricator-remarkup-css',
|
13 => 'phabricator-remarkup-css',
|
||||||
14 => 'syntax-highlighting-css',
|
14 => 'syntax-highlighting-css',
|
||||||
),
|
),
|
||||||
'uri' => '/res/pkg/be386945/core.pkg.css',
|
'uri' => '/res/pkg/ca51195b/core.pkg.css',
|
||||||
'type' => 'css',
|
'type' => 'css',
|
||||||
),
|
),
|
||||||
'c8f4dac5' =>
|
|
||||||
array (
|
|
||||||
'name' => 'workflow.pkg.js',
|
|
||||||
'symbols' =>
|
|
||||||
array (
|
|
||||||
0 => 'javelin-mask',
|
|
||||||
1 => 'javelin-workflow',
|
|
||||||
2 => 'javelin-behavior-workflow',
|
|
||||||
3 => 'javelin-behavior-aphront-form-disable-on-submit',
|
|
||||||
4 => 'phabricator-keyboard-shortcut-manager',
|
|
||||||
5 => 'phabricator-keyboard-shortcut',
|
|
||||||
6 => 'javelin-behavior-phabricator-keyboard-shortcuts',
|
|
||||||
),
|
|
||||||
'uri' => '/res/pkg/c8f4dac5/workflow.pkg.js',
|
|
||||||
'type' => 'js',
|
|
||||||
),
|
|
||||||
'da416e1c' =>
|
'da416e1c' =>
|
||||||
array (
|
array (
|
||||||
'name' => 'differential.pkg.js',
|
'name' => 'differential.pkg.js',
|
||||||
|
@ -1179,15 +1179,15 @@ celerity_register_resource_map(array(
|
||||||
),
|
),
|
||||||
'reverse' =>
|
'reverse' =>
|
||||||
array (
|
array (
|
||||||
'aphront-crumbs-view-css' => 'be386945',
|
'aphront-crumbs-view-css' => 'ca51195b',
|
||||||
'aphront-dialog-view-css' => 'be386945',
|
'aphront-dialog-view-css' => 'ca51195b',
|
||||||
'aphront-form-view-css' => 'be386945',
|
'aphront-form-view-css' => 'ca51195b',
|
||||||
'aphront-list-filter-view-css' => 'be386945',
|
'aphront-list-filter-view-css' => 'ca51195b',
|
||||||
'aphront-panel-view-css' => 'be386945',
|
'aphront-panel-view-css' => 'ca51195b',
|
||||||
'aphront-side-nav-view-css' => 'be386945',
|
'aphront-side-nav-view-css' => 'ca51195b',
|
||||||
'aphront-table-view-css' => 'be386945',
|
'aphront-table-view-css' => 'ca51195b',
|
||||||
'aphront-tokenizer-control-css' => 'be386945',
|
'aphront-tokenizer-control-css' => 'ca51195b',
|
||||||
'aphront-typeahead-control-css' => 'be386945',
|
'aphront-typeahead-control-css' => 'ca51195b',
|
||||||
'differential-changeset-view-css' => '0e6e36aa',
|
'differential-changeset-view-css' => '0e6e36aa',
|
||||||
'differential-core-view-css' => '0e6e36aa',
|
'differential-core-view-css' => '0e6e36aa',
|
||||||
'differential-revision-add-comment-css' => '0e6e36aa',
|
'differential-revision-add-comment-css' => '0e6e36aa',
|
||||||
|
@ -1224,13 +1224,13 @@ celerity_register_resource_map(array(
|
||||||
'javelin-util' => 'db95a6d0',
|
'javelin-util' => 'db95a6d0',
|
||||||
'javelin-vector' => 'db95a6d0',
|
'javelin-vector' => 'db95a6d0',
|
||||||
'javelin-workflow' => 'c8f4dac5',
|
'javelin-workflow' => 'c8f4dac5',
|
||||||
'phabricator-core-buttons-css' => 'be386945',
|
'phabricator-core-buttons-css' => 'ca51195b',
|
||||||
'phabricator-core-css' => 'be386945',
|
'phabricator-core-css' => 'ca51195b',
|
||||||
'phabricator-directory-css' => 'be386945',
|
'phabricator-directory-css' => 'ca51195b',
|
||||||
'phabricator-keyboard-shortcut' => 'c8f4dac5',
|
'phabricator-keyboard-shortcut' => 'c8f4dac5',
|
||||||
'phabricator-keyboard-shortcut-manager' => 'c8f4dac5',
|
'phabricator-keyboard-shortcut-manager' => 'c8f4dac5',
|
||||||
'phabricator-remarkup-css' => 'be386945',
|
'phabricator-remarkup-css' => 'ca51195b',
|
||||||
'phabricator-standard-page-view' => 'be386945',
|
'phabricator-standard-page-view' => 'ca51195b',
|
||||||
'syntax-highlighting-css' => 'be386945',
|
'syntax-highlighting-css' => 'ca51195b',
|
||||||
),
|
),
|
||||||
));
|
));
|
||||||
|
|
|
@ -206,7 +206,7 @@ class PhabricatorStandardPageView extends AphrontPageView {
|
||||||
// in the execution workflow.
|
// in the execution workflow.
|
||||||
if ($user && $user->getPHID()) {
|
if ($user && $user->getPHID()) {
|
||||||
$login_stuff =
|
$login_stuff =
|
||||||
'Logged in as '.phutil_render_tag(
|
phutil_render_tag(
|
||||||
'a',
|
'a',
|
||||||
array(
|
array(
|
||||||
'href' => '/p/'.$user->getUsername().'/',
|
'href' => '/p/'.$user->getUsername().'/',
|
||||||
|
|
|
@ -42,6 +42,7 @@
|
||||||
border-bottom: 6px solid transparent;
|
border-bottom: 6px solid transparent;
|
||||||
padding-top: 14px;
|
padding-top: 14px;
|
||||||
padding-bottom: 4px;
|
padding-bottom: 4px;
|
||||||
|
white-space: nowrap;
|
||||||
}
|
}
|
||||||
|
|
||||||
.phabricator-logo {
|
.phabricator-logo {
|
||||||
|
@ -82,6 +83,7 @@ td.phabricator-login-details {
|
||||||
vertical-align: middle;
|
vertical-align: middle;
|
||||||
padding: 0px 24px;
|
padding: 0px 24px;
|
||||||
font-size: 12px;
|
font-size: 12px;
|
||||||
|
white-space: nowrap;
|
||||||
}
|
}
|
||||||
|
|
||||||
.phabricator-page-foot {
|
.phabricator-page-foot {
|
||||||
|
|
Loading…
Add table
Reference in a new issue