mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-22 23:02:42 +01:00
Fix scrollbar in draggable area.
Summary: This starts the content over 7 px instead of overlapping the drag bar on the side menu. Test Plan: Tested it in Chrome with scrollbar Reviewers: epriestley, btrahan Reviewed By: epriestley CC: aran, Korvin Maniphest Tasks: T2322 Differential Revision: https://secure.phabricator.com/D4449
This commit is contained in:
parent
5d57e12981
commit
dd4359c5c7
3 changed files with 48 additions and 44 deletions
|
@ -2664,7 +2664,7 @@ celerity_register_resource_map(array(
|
||||||
),
|
),
|
||||||
'phabricator-nav-view-css' =>
|
'phabricator-nav-view-css' =>
|
||||||
array(
|
array(
|
||||||
'uri' => '/res/00ba5b11/rsrc/css/aphront/phabricator-nav-view.css',
|
'uri' => '/res/8606cda1/rsrc/css/aphront/phabricator-nav-view.css',
|
||||||
'type' => 'css',
|
'type' => 'css',
|
||||||
'requires' =>
|
'requires' =>
|
||||||
array(
|
array(
|
||||||
|
@ -3268,7 +3268,7 @@ celerity_register_resource_map(array(
|
||||||
), array(
|
), array(
|
||||||
'packages' =>
|
'packages' =>
|
||||||
array(
|
array(
|
||||||
'1ee1d85d' =>
|
'7a47e387' =>
|
||||||
array(
|
array(
|
||||||
'name' => 'core.pkg.css',
|
'name' => 'core.pkg.css',
|
||||||
'symbols' =>
|
'symbols' =>
|
||||||
|
@ -3313,7 +3313,7 @@ celerity_register_resource_map(array(
|
||||||
37 => 'phabricator-object-item-list-view-css',
|
37 => 'phabricator-object-item-list-view-css',
|
||||||
38 => 'global-drag-and-drop-css',
|
38 => 'global-drag-and-drop-css',
|
||||||
),
|
),
|
||||||
'uri' => '/res/pkg/1ee1d85d/core.pkg.css',
|
'uri' => '/res/pkg/7a47e387/core.pkg.css',
|
||||||
'type' => 'css',
|
'type' => 'css',
|
||||||
),
|
),
|
||||||
'b239ff06' =>
|
'b239ff06' =>
|
||||||
|
@ -3502,19 +3502,19 @@ celerity_register_resource_map(array(
|
||||||
'reverse' =>
|
'reverse' =>
|
||||||
array(
|
array(
|
||||||
'aphront-attached-file-view-css' => 'ac211174',
|
'aphront-attached-file-view-css' => 'ac211174',
|
||||||
'aphront-crumbs-view-css' => '1ee1d85d',
|
'aphront-crumbs-view-css' => '7a47e387',
|
||||||
'aphront-dialog-view-css' => '1ee1d85d',
|
'aphront-dialog-view-css' => '7a47e387',
|
||||||
'aphront-error-view-css' => '1ee1d85d',
|
'aphront-error-view-css' => '7a47e387',
|
||||||
'aphront-form-view-css' => '1ee1d85d',
|
'aphront-form-view-css' => '7a47e387',
|
||||||
'aphront-headsup-action-list-view-css' => 'ec01d039',
|
'aphront-headsup-action-list-view-css' => 'ec01d039',
|
||||||
'aphront-headsup-view-css' => '1ee1d85d',
|
'aphront-headsup-view-css' => '7a47e387',
|
||||||
'aphront-list-filter-view-css' => '1ee1d85d',
|
'aphront-list-filter-view-css' => '7a47e387',
|
||||||
'aphront-pager-view-css' => '1ee1d85d',
|
'aphront-pager-view-css' => '7a47e387',
|
||||||
'aphront-panel-view-css' => '1ee1d85d',
|
'aphront-panel-view-css' => '7a47e387',
|
||||||
'aphront-table-view-css' => '1ee1d85d',
|
'aphront-table-view-css' => '7a47e387',
|
||||||
'aphront-tokenizer-control-css' => '1ee1d85d',
|
'aphront-tokenizer-control-css' => '7a47e387',
|
||||||
'aphront-tooltip-css' => '1ee1d85d',
|
'aphront-tooltip-css' => '7a47e387',
|
||||||
'aphront-typeahead-control-css' => '1ee1d85d',
|
'aphront-typeahead-control-css' => '7a47e387',
|
||||||
'differential-changeset-view-css' => 'ec01d039',
|
'differential-changeset-view-css' => 'ec01d039',
|
||||||
'differential-core-view-css' => 'ec01d039',
|
'differential-core-view-css' => 'ec01d039',
|
||||||
'differential-inline-comment-editor' => 'bbd79ca2',
|
'differential-inline-comment-editor' => 'bbd79ca2',
|
||||||
|
@ -3528,7 +3528,7 @@ celerity_register_resource_map(array(
|
||||||
'differential-table-of-contents-css' => 'ec01d039',
|
'differential-table-of-contents-css' => 'ec01d039',
|
||||||
'diffusion-commit-view-css' => 'c8ce2d88',
|
'diffusion-commit-view-css' => 'c8ce2d88',
|
||||||
'diffusion-icons-css' => 'c8ce2d88',
|
'diffusion-icons-css' => 'c8ce2d88',
|
||||||
'global-drag-and-drop-css' => '1ee1d85d',
|
'global-drag-and-drop-css' => '7a47e387',
|
||||||
'inline-comment-summary-css' => 'ec01d039',
|
'inline-comment-summary-css' => 'ec01d039',
|
||||||
'javelin-aphlict' => 'b239ff06',
|
'javelin-aphlict' => 'b239ff06',
|
||||||
'javelin-behavior' => 'fbeded59',
|
'javelin-behavior' => 'fbeded59',
|
||||||
|
@ -3597,49 +3597,49 @@ celerity_register_resource_map(array(
|
||||||
'javelin-util' => 'fbeded59',
|
'javelin-util' => 'fbeded59',
|
||||||
'javelin-vector' => 'fbeded59',
|
'javelin-vector' => 'fbeded59',
|
||||||
'javelin-workflow' => 'fbeded59',
|
'javelin-workflow' => 'fbeded59',
|
||||||
'lightbox-attachment-css' => '1ee1d85d',
|
'lightbox-attachment-css' => '7a47e387',
|
||||||
'maniphest-task-summary-css' => 'ac211174',
|
'maniphest-task-summary-css' => 'ac211174',
|
||||||
'maniphest-transaction-detail-css' => 'ac211174',
|
'maniphest-transaction-detail-css' => 'ac211174',
|
||||||
'phabricator-app-buttons-css' => '1ee1d85d',
|
'phabricator-app-buttons-css' => '7a47e387',
|
||||||
'phabricator-busy' => 'b239ff06',
|
'phabricator-busy' => 'b239ff06',
|
||||||
'phabricator-content-source-view-css' => 'ec01d039',
|
'phabricator-content-source-view-css' => 'ec01d039',
|
||||||
'phabricator-core-buttons-css' => '1ee1d85d',
|
'phabricator-core-buttons-css' => '7a47e387',
|
||||||
'phabricator-core-css' => '1ee1d85d',
|
'phabricator-core-css' => '7a47e387',
|
||||||
'phabricator-crumbs-view-css' => '1ee1d85d',
|
'phabricator-crumbs-view-css' => '7a47e387',
|
||||||
'phabricator-directory-css' => '1ee1d85d',
|
'phabricator-directory-css' => '7a47e387',
|
||||||
'phabricator-drag-and-drop-file-upload' => 'bbd79ca2',
|
'phabricator-drag-and-drop-file-upload' => 'bbd79ca2',
|
||||||
'phabricator-dropdown-menu' => 'b239ff06',
|
'phabricator-dropdown-menu' => 'b239ff06',
|
||||||
'phabricator-file-upload' => 'b239ff06',
|
'phabricator-file-upload' => 'b239ff06',
|
||||||
'phabricator-filetree-view-css' => '1ee1d85d',
|
'phabricator-filetree-view-css' => '7a47e387',
|
||||||
'phabricator-flag-css' => '1ee1d85d',
|
'phabricator-flag-css' => '7a47e387',
|
||||||
'phabricator-form-view-css' => '1ee1d85d',
|
'phabricator-form-view-css' => '7a47e387',
|
||||||
'phabricator-header-view-css' => '1ee1d85d',
|
'phabricator-header-view-css' => '7a47e387',
|
||||||
'phabricator-jump-nav' => '1ee1d85d',
|
'phabricator-jump-nav' => '7a47e387',
|
||||||
'phabricator-keyboard-shortcut' => 'b239ff06',
|
'phabricator-keyboard-shortcut' => 'b239ff06',
|
||||||
'phabricator-keyboard-shortcut-manager' => 'b239ff06',
|
'phabricator-keyboard-shortcut-manager' => 'b239ff06',
|
||||||
'phabricator-main-menu-view' => '1ee1d85d',
|
'phabricator-main-menu-view' => '7a47e387',
|
||||||
'phabricator-menu-item' => 'b239ff06',
|
'phabricator-menu-item' => 'b239ff06',
|
||||||
'phabricator-nav-view-css' => '1ee1d85d',
|
'phabricator-nav-view-css' => '7a47e387',
|
||||||
'phabricator-notification' => 'b239ff06',
|
'phabricator-notification' => 'b239ff06',
|
||||||
'phabricator-notification-css' => '1ee1d85d',
|
'phabricator-notification-css' => '7a47e387',
|
||||||
'phabricator-notification-menu-css' => '1ee1d85d',
|
'phabricator-notification-menu-css' => '7a47e387',
|
||||||
'phabricator-object-item-list-view-css' => '1ee1d85d',
|
'phabricator-object-item-list-view-css' => '7a47e387',
|
||||||
'phabricator-object-selector-css' => 'ec01d039',
|
'phabricator-object-selector-css' => 'ec01d039',
|
||||||
'phabricator-paste-file-upload' => 'b239ff06',
|
'phabricator-paste-file-upload' => 'b239ff06',
|
||||||
'phabricator-prefab' => 'b239ff06',
|
'phabricator-prefab' => 'b239ff06',
|
||||||
'phabricator-project-tag-css' => 'ac211174',
|
'phabricator-project-tag-css' => 'ac211174',
|
||||||
'phabricator-remarkup-css' => '1ee1d85d',
|
'phabricator-remarkup-css' => '7a47e387',
|
||||||
'phabricator-shaped-request' => 'bbd79ca2',
|
'phabricator-shaped-request' => 'bbd79ca2',
|
||||||
'phabricator-side-menu-view-css' => '1ee1d85d',
|
'phabricator-side-menu-view-css' => '7a47e387',
|
||||||
'phabricator-standard-page-view' => '1ee1d85d',
|
'phabricator-standard-page-view' => '7a47e387',
|
||||||
'phabricator-textareautils' => 'b239ff06',
|
'phabricator-textareautils' => 'b239ff06',
|
||||||
'phabricator-tooltip' => 'b239ff06',
|
'phabricator-tooltip' => 'b239ff06',
|
||||||
'phabricator-transaction-view-css' => '1ee1d85d',
|
'phabricator-transaction-view-css' => '7a47e387',
|
||||||
'phabricator-zindex-css' => '1ee1d85d',
|
'phabricator-zindex-css' => '7a47e387',
|
||||||
'sprite-apps-large-css' => '1ee1d85d',
|
'sprite-apps-large-css' => '7a47e387',
|
||||||
'sprite-gradient-css' => '1ee1d85d',
|
'sprite-gradient-css' => '7a47e387',
|
||||||
'sprite-icon-css' => '1ee1d85d',
|
'sprite-icon-css' => '7a47e387',
|
||||||
'sprite-menu-css' => '1ee1d85d',
|
'sprite-menu-css' => '7a47e387',
|
||||||
'syntax-highlighting-css' => '1ee1d85d',
|
'syntax-highlighting-css' => '7a47e387',
|
||||||
),
|
),
|
||||||
));
|
));
|
||||||
|
|
|
@ -166,6 +166,7 @@ final class AphrontSideNavFilterView extends AphrontView {
|
||||||
$main_id = celerity_generate_unique_node_id();
|
$main_id = celerity_generate_unique_node_id();
|
||||||
|
|
||||||
if ($this->flexible) {
|
if ($this->flexible) {
|
||||||
|
$nav_classes[] = 'has-drag-nav';
|
||||||
$drag_id = celerity_generate_unique_node_id();
|
$drag_id = celerity_generate_unique_node_id();
|
||||||
$flex_bar = phutil_render_tag(
|
$flex_bar = phutil_render_tag(
|
||||||
'div',
|
'div',
|
||||||
|
|
|
@ -43,7 +43,7 @@
|
||||||
position: fixed;
|
position: fixed;
|
||||||
top: 0;
|
top: 0;
|
||||||
bottom: 0;
|
bottom: 0;
|
||||||
left: 198px;
|
left: 205px;
|
||||||
width: 7px;
|
width: 7px;
|
||||||
|
|
||||||
cursor: col-resize;
|
cursor: col-resize;
|
||||||
|
@ -59,7 +59,10 @@
|
||||||
background-repeat: no-repeat;
|
background-repeat: no-repeat;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.device-desktop .phabricator-standard-page-body .has-drag-nav .phabricator-nav-content {
|
||||||
|
margin-left: 212px;
|
||||||
|
}
|
||||||
|
|
||||||
.device-desktop .has-local-nav .phabricator-nav-content {
|
.device-desktop .has-local-nav .phabricator-nav-content {
|
||||||
margin-left: 205px;
|
margin-left: 205px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue