diff --git a/public/scripts/RossAscends-mods.js b/public/scripts/RossAscends-mods.js index ea5b3d320..1afb36030 100644 --- a/public/scripts/RossAscends-mods.js +++ b/public/scripts/RossAscends-mods.js @@ -521,7 +521,7 @@ export function dragElement(elmnt) { } //prevent resizing from top left into the top bar - if (top < 40 && maxX >= topBarFirstX && left <= topBarFirstX + if (top < 35 && maxX >= topBarFirstX && left <= topBarFirstX ) { console.debug('prevent topbar underlap resize') elmnt.css('width', width - 1 + "px"); @@ -556,7 +556,7 @@ export function dragElement(elmnt) { } //prevent underlap with topbar div - if (top < 40 + if (top < 35 && (maxX >= topBarFirstX && left <= topBarFirstX //elmnt is hitting topbar from left side || left <= topBarLastX && maxX >= topBarLastX //elmnt is hitting topbar from right side || left >= topBarFirstX && maxX <= topBarLastX) //elmnt hitting topbar in the middle diff --git a/public/style.css b/public/style.css index 736eddb09..c159704e0 100644 --- a/public/style.css +++ b/public/style.css @@ -373,7 +373,7 @@ hr { left: 0; right: 0; display: inline-block; - height: 40px; + height: 35px; position: absolute; border-bottom: 1px solid var(--grey30a); box-shadow: 0 2px 20px 0 var(--black70a); @@ -386,14 +386,14 @@ hr { #sheld { display: grid; grid-template-rows: auto min-content; - height: calc(100vh - 42px); - height: calc(100svh - 42px); + height: calc(100vh - 36px); + height: calc(100svh - 36px); overflow-x: hidden; /* max-width: 50vw; */ position: absolute; left: calc((100vw - var(--sheldWidth))/2); left: calc((100svw - var(--sheldWidth))/2); - top: 41px; + top: 36px; margin: 0 auto; left: 0; right: 0; @@ -3016,8 +3016,8 @@ a { #top-settings-holder { margin: 0 auto; - padding-top: 5px; - height: 40px; + padding-top: 2px; + height: 30px; /* max-width: var(--sheldWidth); */ justify-content: center; display: grid; @@ -3039,7 +3039,7 @@ a { .drawer-icon { display: inline-block; cursor: pointer; - font-size: 1.8rem; + font-size: 25px; } .drawer-icon.openIcon {