Skip to content

Commit

Permalink
Merge pull request #16 from binary-butterfly/sidebar
Browse files Browse the repository at this point in the history
Increase sidebar width
  • Loading branch information
DysphoricUnicorn authored Jan 25, 2022
2 parents a62c5ec + 6183f74 commit 99bf01f
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 4 deletions.
8 changes: 7 additions & 1 deletion assets/js/components/Sidebar.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down

0 comments on commit 99bf01f

Please sign in to comment.