fix noticed issues

This commit is contained in:
Matt C 2026-05-10 12:14:28 -04:00
parent 155636e979
commit be522737b1
3 changed files with 3 additions and 4 deletions

View File

@ -294,9 +294,6 @@
<button type="button" class="mobile-only btn btn-primary bmd-btn-icon btn-maximise" id="maximise-input" data-toggle="tooltip" title="Maximise pane" data-help-title="Maximise pane" data-help="This button allows you to view the Input pane at maximum size, hiding the Operations, Recipe and Output panes. You can restore the pane to its normal size by clicking the same button again.">
<i class="material-icons">fullscreen</i>
</button>
<button type="button" class="desktop-only btn btn-primary bmd-btn-icon" id="reset-layout" data-toggle="tooltip" title="Reset pane layout" data-help-title="Resetting the pane layout" data-help="CyberChef's panes can be resized to suit your area of focus. This button will reset the pane sizes to their default configuration.">
<i class="material-icons">view_compact</i>
</button>
<button type="button" aria-label="Reset pane layout" class="desktop-only btn btn-primary bmd-btn-icon" id="reset-layout" data-toggle="tooltip" title="Reset pane layout" data-help-title="Resetting the pane layout" data-help="CyberChef's panes can be resized to suit your area of focus. This button will reset the pane sizes to their default configuration.">
<i class="material-icons" aria-hidden="true">view_compact</i>
</button>

View File

@ -197,6 +197,7 @@ label[for="output-text"] {
#input .cm-panels,
#output .cm-panels {
border-color: var(--primary-border-colour);
z-index: initial;
}
/* maximise pane and lay on top of everything ( mobile UI )*/

View File

@ -566,8 +566,9 @@ ${navigator.userAgent}
this.setPaneMaximisedClasses(pane, maximise);
if (maximise) {
pane.style.height = `${window.innerHeight - 40}px`;
pane.style.height = `${window.innerHeight - 30}px`;
} else {
this.app.setSplitter();
if (this.app.isMobileView()) {
this.app.assignAvailableHeight();
}