Skip to content

Fix #15570 - Page contents go underneath of floating menubar in some cases - #15581

Merged
williamdes merged 1 commit into
phpmyadmin:QA_4_9from
ShailuJain:issue/15570
Nov 23, 2019
Merged

williamdes merged 1 commit into
phpmyadmin:QA_4_9from
ShailuJain:issue/15570

Conversation

@ShailuJain

Copy link
Copy Markdown
Contributor

Description

After reloading the designer page,

phpmyadmin/js/navigation.js

Lines 1168 to 1176 in bfe1afb

$('#floating_menubar')
.css('margin-' + this.left, $('#pma_navigation').width() + $('#pma_navigation_resizer').width())
.css(this.left, 0)
.css({
'position': 'fixed',
'top': 0,
'width': '100%',
'z-index': 99
});

height of $('#floating_menubar') was 0. So i appended $('#serverinfo') and $('#topmenucontainer') to $('#floating_menubar').

Fixes #15570

Before submitting pull request, please review the following checklist:

  • Make sure you have read our CONTRIBUTING.md document.
  • Make sure you are making a pull request against the correct branch. For example, for bug fixes in a released version use the corresponding QA branch and for new features use the master branch. If you have a doubt, you can ask as a comment in the bug report or on the mailing list.
  • Every commit has proper Signed-off-by line as described in our DCO. This ensures that the work you're submitting is your own creation.
  • Every commit has a descriptive commit message.
  • Every commit is needed on its own, if you have just minor fixes to previous commits, you can squash them.
  • Any new functionality is covered by tests.

@phpmyadmin-bot

Copy link
Copy Markdown
Contributor

This pull requests contains too many commits, in most cases it is caused by wrong merge target. In case you have forked master branch you should also ask merging to master branch. See GitHub documentation for more details.

@williamdes

Copy link
Copy Markdown
Member

@ShailuJain you can re-open it and rebase the PR onto QA 4 9 using hard reset and cherry-pick method ?

@ShailuJain

Copy link
Copy Markdown
Contributor Author

Can i know the steps please? I haven't done it before @williamdes

@williamdes williamdes reopened this Nov 22, 2019
@phpmyadmin-bot

Copy link
Copy Markdown
Contributor

This pull requests contains too many commits, in most cases it is caused by wrong merge target. In case you have forked master branch you should also ask merging to master branch. See GitHub documentation for more details.

@williamdes

Copy link
Copy Markdown
Member

@ShailuJain

# Checkout your branch
git checkout 15570
# Discard all changes
git reset --hard QA_4_9
# Add your change
git cherry-pick d64d87721172478765efb9f6d189600eb552b88c
# Push to GitHub
git push --force

:)

@ShailuJain

Copy link
Copy Markdown
Contributor Author

Thanks @williamdes. I used the master branch as base and then solved the issue. Now i have rebased the branch to QA 4 9.

@williamdes williamdes changed the title Issue/15570 Fix #15570 - Panels on homescreen go underneath of floating menubar Nov 23, 2019
@williamdes williamdes self-assigned this Nov 23, 2019
@williamdes williamdes added this to the 4.9.3 milestone Nov 23, 2019
@williamdes williamdes changed the title Fix #15570 - Panels on homescreen go underneath of floating menubar Fix #15570 - Page contents go underneath of floating menubar in some cases Nov 23, 2019
williamdes added a commit that referenced this pull request Nov 23, 2019
…ubar

Pull-request: #15581
Fixes: #15570

Signed-off-by: William Desportes <[email protected]>
@williamdes
williamdes merged commit 4f21a0b into phpmyadmin:QA_4_9 Nov 23, 2019
@williamdes

Copy link
Copy Markdown
Member

Merged, thank you @ShailuJain for your contribution !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants