mirror of
https://github.com/gchq/CyberChef.git
synced 2025-05-06 22:47:11 -04:00
[#181] returns banner height to original 30 pixels
This commit is contained in:
parent
b51a298182
commit
cf59bd3db5
2 changed files with 5 additions and 5 deletions
|
@ -842,14 +842,14 @@ class App {
|
|||
/**
|
||||
* Due to variable available heights on mobile devices ( due to the
|
||||
* address bar etc. ), we need to calculate the available space and
|
||||
* set some heights programmatically based on the full view height,
|
||||
* minus fixed height elements.
|
||||
* set some heights programmatically based on the full viewport
|
||||
* minus fixed-height elements.
|
||||
*
|
||||
* Be mindful to update these fixed numbers accordingly in the stylesheets
|
||||
* ( themes/_structure ) if you make changes to those elements' height.
|
||||
*/
|
||||
assignAvailableHeight() {
|
||||
const bannerHeight = 40;
|
||||
const bannerHeight = 30;
|
||||
const controlsHeight = 50;
|
||||
const operationsHeight = 80;
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
:root {
|
||||
/* Fixed heights */
|
||||
--banner-height: 40px;
|
||||
--banner-height: 30px;
|
||||
|
||||
/* Mobile height */
|
||||
--title-height: 40px;
|
||||
|
@ -16,7 +16,7 @@
|
|||
* A note:
|
||||
*
|
||||
* Heights of #recipe, #input and #output are set programmatically
|
||||
* in App.js
|
||||
* in App.js assignAvailableHeight();
|
||||
*/
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue