aboutsummaryrefslogtreecommitdiff
path: root/modern
diff options
context:
space:
mode:
authorjcardus <asklocation.net@gmail.com>2023-07-29 18:46:15 +0100
committerjcardus <asklocation.net@gmail.com>2023-07-29 18:46:15 +0100
commit677a42dad9ddf7d5be81ddc45907788641a959c5 (patch)
tree3ff2365690f88baf3304ce5d0c63f589884d51ee /modern
parent56ec73d4d3483f6fe1ca26769cd2d8e8a6cc4ea5 (diff)
downloadtrackermap-web-677a42dad9ddf7d5be81ddc45907788641a959c5.tar.gz
trackermap-web-677a42dad9ddf7d5be81ddc45907788641a959c5.tar.bz2
trackermap-web-677a42dad9ddf7d5be81ddc45907788641a959c5.zip
StatusCard on mobile screens hides the device on the map
Diffstat (limited to 'modern')
-rw-r--r--modern/src/common/components/StatusCard.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/modern/src/common/components/StatusCard.js b/modern/src/common/components/StatusCard.js
index 097b483a..60822b27 100644
--- a/modern/src/common/components/StatusCard.js
+++ b/modern/src/common/components/StatusCard.js
@@ -57,6 +57,8 @@ const useStyles = makeStyles((theme) => ({
content: {
paddingTop: theme.spacing(1),
paddingBottom: theme.spacing(1),
+ 'max-height': '40vh',
+ overflow: 'hidden',
},
negative: {
color: theme.palette.colors.negative,