From b9317986791cd9be1e8ee11dc0f61d4c624bae14 Mon Sep 17 00:00:00 2001 From: Wenderson Pires Date: Tue, 9 Apr 2024 13:16:58 -0300 Subject: [PATCH] fix topbar --- package.json | 2 +- src/components/TopBar/styles.css | 5 +++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index 43f1e15..09b15bd 100644 --- a/package.json +++ b/package.json @@ -12,7 +12,7 @@ "deploy:testnet": "npm run build; alem deploy --network testnet" }, "dependencies": { - "alem": "^1.0.0-beta.13" + "alem": "^1.0.0-beta.14" }, "devDependencies": { "@types/styled-components": "^5.1.26", diff --git a/src/components/TopBar/styles.css b/src/components/TopBar/styles.css index 93b11a9..5f02d0c 100644 --- a/src/components/TopBar/styles.css +++ b/src/components/TopBar/styles.css @@ -3,13 +3,14 @@ position: fixed; width: 100%; left: 0px; - top: 56px; + /* top: 56px; */ + top: calc(-1 * var(--body-top-padding, 0) + 80px); background-color: #103144; padding: 1rem; justify-content: center; @media screen and (max-width: 442px) { - top: 75px; + top: calc(-1 * var(--body-top-padding, 0) + 100px); } }