diff --git a/CHANGELOG.md b/CHANGELOG.md index c84c6e8..aeff503 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,7 @@ +### 1.6.9 +* Bugfix: Fixed navigation scenes overlapping under chat +* Bugfix: Issues with logo size on some systems + ### 1.6.8 * Compatibility: Monk's Hotbar Extension diff --git a/module.json b/module.json index bd8b3dd..bef43e8 100644 --- a/module.json +++ b/module.json @@ -10,7 +10,7 @@ } ], "description": "Minimal UI allows customizing Foundry interface, by hiding, collapsing or resizing specific parts.", - "version": "1.6.8", + "version": "1.6.9", "compatibility": { "minimum": "10", "verified": "11.313", @@ -49,7 +49,7 @@ ], "url": "https://github.com/saif-ellafi/foundryvtt-minimal-ui.git", "manifest": "https://github.com/saif-ellafi/foundryvtt-minimal-ui/releases/latest/download/module.json", - "download": "https://github.com/saif-ellafi/foundryvtt-minimal-ui/releases/download/1.6.8/foundryvtt-minimal-ui_1.6.8.zip", + "download": "https://github.com/saif-ellafi/foundryvtt-minimal-ui/releases/download/1.6.9/foundryvtt-minimal-ui_1.6.9.zip", "readme": "https://github.com/saif-ellafi/foundryvtt-minimal-ui/blob/main/README.md", "license": "https://github.com/saif-ellafi/foundryvtt-minimal-ui/blob/main/LICENSE.md", "changelog": "https://github.com/saif-ellafi/foundryvtt-minimal-ui/blob/main/CHANGELOG.md" diff --git a/modules/component/navigation.js b/modules/component/navigation.js index baa11ed..78edaee 100644 --- a/modules/component/navigation.js +++ b/modules/component/navigation.js @@ -3,14 +3,15 @@ import '../../styles/component/navigation.css'; export default class MinimalUINavigation { - static cssSceneNavNoLogoStart = 10; + static cssSceneNavNoLogoStart = 0; + static cssSceneNavLogoStart = 110; static async collapseNavigation() { await ui.nav.collapse(); } static positionNav() { - let navixpos = game.settings.get('minimal-ui', 'foundryLogoSize') === 'hidden' ? MinimalUINavigation.cssSceneNavNoLogoStart : 120; + let navixpos = game.settings.get('minimal-ui', 'foundryLogoSize') === 'hidden' ? MinimalUINavigation.cssSceneNavNoLogoStart : MinimalUINavigation.cssSceneNavLogoStart; if (game.webrtc.mode > 0 && !ui.webrtc.element.hasClass('hidden')) if (game.webrtc.settings.client.dockPosition === 'left') navixpos += ui.webrtc.position.width; diff --git a/package-lock.json b/package-lock.json index 49a09b4..b9f6c5f 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "foundryvtt-minimal-ui", - "version": "1.6.8", + "version": "1.6.9", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "foundryvtt-minimal-ui", - "version": "1.6.8", + "version": "1.6.9", "license": "MIT", "dependencies": { "@rollup/plugin-json": "^4.1.0", diff --git a/package.json b/package.json index 2c1ffc5..793dfc2 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "foundryvtt-minimal-ui", - "version": "1.6.8", + "version": "1.6.9", "description": "Minimal UI allows customizing Foundry interface, by hiding, collapsing or resizing specific parts.", "main": "minimalui.js", "scripts": { diff --git a/styles/component/logo.css b/styles/component/logo.css index b7d37f8..0eda897 100644 --- a/styles/component/logo.css +++ b/styles/component/logo.css @@ -1,11 +1,7 @@ :root { --logovis: hidden; - --logoh: 50px; - --logow: 100px; } #logo { visibility: var(--logovis); - height: var(--logoh); - width: var(--logow); } \ No newline at end of file diff --git a/styles/component/navigation.css b/styles/component/navigation.css index a1f15ea..5468c02 100644 --- a/styles/component/navigation.css +++ b/styles/component/navigation.css @@ -1,6 +1,6 @@ :root { --navivis: hidden; - --navixpos: 120px; + --navixpos: 110px; --navixmg: 75px; --navilh: 20px; --navifs: 14px; @@ -9,11 +9,10 @@ } #navigation { - left: var(--navixpos); + padding-left: var(--navixpos); visibility: var(--navivis); opacity: var(--opacity); transition: 0.5s ease-out 0.5s; - position: fixed; margin: 5px 0 0 0; } @@ -34,6 +33,8 @@ border: 1px solid var(--bordercolor); border-bottom: 1px solid var(--bordercolor); box-shadow: 0 var(--hotbarshp) var(--shadowstrength) 2px var(--shadowcolor); + left: -10px; + margin-right: 0px; top: 5px; }