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

Stretch keyboard shortcut dialog #5449

Merged
merged 3 commits into from Mar 31, 2014
Merged

Conversation

minrk
Copy link
Member

@minrk minrk commented Mar 27, 2014

adds a modal_stretch CSS class to fill the screen for large dialogs (e.g. keyboard shortcuts). This performs better on both large and small screens than regular dialogs with a fixed max-height.

I had to remove an old width: 100% workaround for Firefox that @jdfreder assured me is no longer needed with the new display: flex.

small screen:
small

large screen:
large

closes #5413.

this is no longer needed with `display: flex`
for stretching a dialog to fill the screen
@minrk minrk added this to the 2.0 milestone Mar 27, 2014
@jdfreder
Copy link
Member

Just out of curiosity, what problems did the width: 100% cause here?

@minrk
Copy link
Member Author

minrk commented Mar 27, 2014

it overrides the width on the modal dialog after applying .modal_stretch

@jdfreder
Copy link
Member

Ahh, sounds ugly. Anyways, 👍 from me. Code looks good and works on my machine.

minrk added a commit that referenced this pull request Mar 31, 2014
Stretch keyboard shortcut dialog
@minrk minrk merged commit 5b5c41f into ipython:master Mar 31, 2014
@minrk minrk deleted the quickhelp-stretch branch March 31, 2014 21:34
mattvonrocketstein pushed a commit to mattvonrocketstein/ipython that referenced this pull request Nov 3, 2014
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.

Decrease min-height of shortcut windows
2 participants