Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Chore: Fix fullscreen nav and hide toggle thumbnail button #926

Merged
merged 3 commits into from
Feb 14, 2019

Conversation

ConradJChan
Copy link
Contributor

@ConradJChan ConradJChan commented Feb 13, 2019

  • Re-enables keyboard nav while in fullscreen
  • Hides the toggle thumbnail button from the document controls while in fullscreen because thumbnail sidebar is not visible anyway
  • applies a min-width to the .bp-content div so that fullscreen works in Safari

@boxcla
Copy link

boxcla commented Feb 13, 2019

Verified that @ConradJChan has signed the CLA. Thanks for the pull request!

@@ -149,6 +149,7 @@ $header-height: 48px;
align-items: center;
display: flex;
flex: 1 1 auto;
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does it make sense to set the flex-basis to 100%, instead or as well?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I tried that but Safari doesn't seem to care about that value either

@ConradJChan ConradJChan merged commit 5845af8 into box:thumbnails-sidebar Feb 14, 2019
@ConradJChan ConradJChan deleted the fix-fullscreen branch February 14, 2019 18:21
ConradJChan pushed a commit to ConradJChan/box-content-preview that referenced this pull request Feb 19, 2019
Also fixes an issue where elements that request fullscreen in Safari do not get their width set appropriately if it is a flex item in a flex container
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