Skip to content

Commit

Permalink
Make attribution visible with scrollbars; minor style updates
Browse files Browse the repository at this point in the history
  • Loading branch information
Charles Mcgrady authored and charliemcgrady committed Jun 6, 2024
1 parent 07cdcb5 commit 47d169b
Show file tree
Hide file tree
Showing 5 changed files with 17 additions and 29 deletions.
6 changes: 6 additions & 0 deletions package-lock.json

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

11 changes: 6 additions & 5 deletions site/src/App.css
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,11 @@
width:100vw;
height:80vh;
position:relative;

.maplibregl-ctrl-bottom-right {
bottom: 10px;
right: 10px;
}
}

.wordmark {
Expand All @@ -14,18 +19,14 @@
align-items: center;
}

.header,.footer {
.header {
display: flex;
flex-direction:row;
align-items: center;
justify-content:space-between;
width:100%;
}

.footer {
height: 20vh;
}

.downloadBar {
display: flex;
flex-direction: row;
Expand Down
2 changes: 0 additions & 2 deletions site/src/App.jsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import "./App.css";
import Header from "./nav/Header";
import Footer from "./Footer";
import Map from "./Map";
import { MapProvider } from "react-map-gl/maplibre";
import { keepTheme } from "./themeUtils";
Expand All @@ -17,7 +16,6 @@ function App() {
<MapProvider>
<Header mode={modeName} setMode={setModeName} />
<Map mode={modeName} />
<Footer mode={modeName} />
</MapProvider>
);
}
Expand Down
21 changes: 0 additions & 21 deletions site/src/Footer.jsx

This file was deleted.

6 changes: 5 additions & 1 deletion site/src/InspectorPanel.css
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,14 @@
border: 3px;
border-radius: 10px;
border-color: rgba(15, 15, 15, 0.8);
max-height: 80%;
max-height: 80vh;
overflow-y: scroll;
position:relative;

p {
margin: 0;
}

@media (max-width: 768px) {
max-height: 50%;
}
Expand Down

0 comments on commit 47d169b

Please sign in to comment.