Skip to content

Commit

Permalink
Adjust Live Monitoring view to fit screen view
Browse files Browse the repository at this point in the history
- Related to #6219
  • Loading branch information
royallsilwallz committed Jan 25, 2024
1 parent 66ed8a6 commit c1a294f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions frontend/src/views/projectLiveMonitoring.css
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
@import "@hotosm/underpass-ui/dist/index.css";
@import '@hotosm/underpass-ui/dist/index.css';

.maplibregl-map {
height: 100vh;
height: calc(100vh - 6.05rem);
}

.top {
Expand Down
4 changes: 2 additions & 2 deletions frontend/src/views/projectLiveMonitoring.js
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,7 @@ export function ProjectLiveMonitoring() {
ready={!error && !loading}
className="pr3"
>
<div>
<div className="cf w-100" style={{ height: 'calc(100vh - 5.5rem)' }}>
<div className="flex p-2">
<div style={{ flex: 2 }}>
<div className="top">
Expand Down Expand Up @@ -365,7 +365,7 @@ export function ProjectLiveMonitoring() {
style={{
display: 'flex',
flexFlow: 'column',
height: '100px',
maxHeight: 'calc(100vh - 26rem)',
flex: '1 1 auto',
}}
tags={tags}
Expand Down

0 comments on commit c1a294f

Please sign in to comment.