mirror of
https://github.com/gchq/CyberChef.git
synced 2025-05-08 15:25:01 -04:00
[#181] handle the correct resetting of layouts in any maximised pane situation, i.e. window resizing while panels are maximised etc. Prevent mobile keyboard popup window resize events to trigger layout resetting when panes are maximised, use JS to calculate the innerHeight available for mobile devices as they are of variable / unreliable / inconsistent heights
This commit is contained in:
parent
f80284cb36
commit
ee9ea051d1
10 changed files with 151 additions and 126 deletions
|
@ -8,8 +8,6 @@
|
|||
|
||||
#banner { height: var(--banner-height); }
|
||||
#operations { height: var(--operations-height); }
|
||||
#recipe { height: var(--recipe-height); }
|
||||
#IO { height: var(--io-height); }
|
||||
#controls { height: var(--controls-height); }
|
||||
|
||||
#banner,
|
||||
|
@ -25,24 +23,18 @@
|
|||
}
|
||||
|
||||
#workspace-wrapper {
|
||||
height: var(--workspace-height);
|
||||
margin-top: var(--banner-height);
|
||||
}
|
||||
|
||||
#controls {
|
||||
position: fixed;
|
||||
bottom: 0;
|
||||
}
|
||||
|
||||
#IO {
|
||||
padding-bottom: var(--controls-height);
|
||||
}
|
||||
|
||||
#recipe.maximised-pane,
|
||||
#input.maximised-pane,
|
||||
#output.maximised-pane {
|
||||
position: fixed;
|
||||
min-height: calc( 100vh - var(--banner-height ));
|
||||
height: auto;
|
||||
top: var(--banner-height);
|
||||
left: 0;
|
||||
right: 0;
|
||||
|
@ -54,10 +46,6 @@
|
|||
}
|
||||
|
||||
@media only screen and ( min-width: 768px ) {
|
||||
#IO {
|
||||
padding-bottom: 0;
|
||||
}
|
||||
|
||||
#recipe {
|
||||
padding-bottom: var(--controls-height);
|
||||
}
|
||||
|
@ -67,7 +55,7 @@
|
|||
}
|
||||
|
||||
#workspace-wrapper {
|
||||
height: calc( 100vh - var(--banner-height));
|
||||
height: calc(100vh - var(--banner-height));
|
||||
}
|
||||
|
||||
#operations-dropdown {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue