Skip to content
This repository has been archived by the owner on Oct 26, 2022. It is now read-only.

Commit

Permalink
Merge pull request #14 from jtpio/fix-mobile-layout
Browse files Browse the repository at this point in the history
Tweak CSS for smaller viewports
  • Loading branch information
jtpio committed Feb 3, 2022
2 parents 743674e + ed674ba commit 3b65ab8
Showing 1 changed file with 28 additions and 5 deletions.
33 changes: 28 additions & 5 deletions style/base.css
@@ -1,11 +1,13 @@
#top-panel-wrapper, #menu-panel-wrapper, #spacer-widget {
display: none!important;
#top-panel-wrapper,
#menu-panel-wrapper,
#spacer-widget {
display: none !important;
}

#main-panel {
top: 0px!important;
height: 100%!important;
max-width: unset!important;
top: 0px !important;
height: 100% !important;
max-width: unset !important;
}

.jp-CodeConsole-promptCell .jp-InputPrompt {
Expand All @@ -20,3 +22,24 @@
padding: 0 var(--jp-console-padding) 0 0;
color: var(--jp-ui-font-color0);
}

.jp-InputPrompt {
flex: 0 0 42px;
}

.jp-CodeConsole-input .jp-InputCollapser {
display: none;
}

.jp-InputArea {
flex-direction: row;
}

.jp-InputArea-editor,
.jp-OutputArea-child .jp-OutputArea-output {
margin-left: unset;
}

.jp-OutputArea-child {
flex-direction: row;
}

1 comment on commit 3b65ab8

@vercel
Copy link

@vercel vercel bot commented on 3b65ab8 Feb 3, 2022

Choose a reason for hiding this comment

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

Successfully deployed to the following URLs:

Please sign in to comment.