From fc3187ca04a1991de52a28f6056c63cecadd4d4d Mon Sep 17 00:00:00 2001 From: Jennifer Kirsch Date: Tue, 25 Jan 2022 11:23:20 +0100 Subject: [PATCH 1/2] Increase sidebar width --- assets/js/components/Sidebar.js | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/assets/js/components/Sidebar.js b/assets/js/components/Sidebar.js index 36c29f4..5920d17 100644 --- a/assets/js/components/Sidebar.js +++ b/assets/js/components/Sidebar.js @@ -27,7 +27,13 @@ export const MapSidebar = styled.div` } &[data-showing=true] { - width: 20%; + width: 25rem; + } + + @media(max-width: 1000px) { + &[data-showing=true] { + width: 90%; + } } &[data-showing=false] > div > *, &[data-showing=false] > div > table tbody tr td.special-day, &[data-showing=false] > div > div > button { From 6183f7468e9b1204413698d82682d260cca6f8a2 Mon Sep 17 00:00:00 2001 From: Jennifer Kirsch Date: Tue, 25 Jan 2022 11:23:25 +0100 Subject: [PATCH 2/2] 0.8.1 --- package-lock.json | 4 ++-- package.json | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package-lock.json b/package-lock.json index 0c778d4..5cc6273 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "react-butterfly-map", - "version": "0.8.0", + "version": "0.8.1", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "react-butterfly-map", - "version": "0.8.0", + "version": "0.8.1", "license": "MIT", "dependencies": { "maplibre-gl": "^1.15.2", diff --git a/package.json b/package.json index 8819219..88d0188 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "react-butterfly-map", - "version": "0.8.0", + "version": "0.8.1", "license": "MIT", "private": false, "main": "dist/react-butterfly-map.min.js",