mirror of
https://we.phorge.it/source/phorge.git
synced 2024-12-31 18:01:00 +01:00
Minor, use a spacer instead of top margin to prevent margin collapse.
This commit is contained in:
parent
9eb6d4dded
commit
d2031d3296
3 changed files with 10 additions and 3 deletions
|
@ -2250,7 +2250,7 @@ celerity_register_resource_map(array(
|
|||
),
|
||||
'phabricator-main-menu-view' =>
|
||||
array(
|
||||
'uri' => '/res/1475552c/rsrc/css/application/base/main-menu-view.css',
|
||||
'uri' => '/res/795788ca/rsrc/css/application/base/main-menu-view.css',
|
||||
'type' => 'css',
|
||||
'requires' =>
|
||||
array(
|
||||
|
|
|
@ -407,6 +407,7 @@ final class PhabricatorStandardPageView extends AphrontPageView {
|
|||
'class' => $classes,
|
||||
),
|
||||
$header_chrome.
|
||||
'<div class="phabricator-main-menu-spacer"></div>'.
|
||||
'<div class="phabricator-standard-page-body">'.
|
||||
($console ? '<darkconsole />' : null).
|
||||
$developer_warning.
|
||||
|
|
|
@ -31,8 +31,14 @@
|
|||
top: 0;
|
||||
}
|
||||
|
||||
.device-desktop .phabricator-standard-page-body {
|
||||
margin-top: 44px;
|
||||
.phabricator-main-menu-spacer {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.device-desktop .phabricator-main-menu-spacer {
|
||||
height: 44px;
|
||||
position: relative;
|
||||
display: block;
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue