aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuiz Kill <luizkill@gmail.com>2022-08-02 11:11:16 -0300
committerLuiz Kill <luizkill@gmail.com>2022-08-02 11:11:16 -0300
commit4d31533af3b66fbbcff9565bedc13f4916b68e6c (patch)
tree6f41355ddb55767b627a92687482409f0b1f86b3
parent2b25556ab78528cc77767f352aff5fc3f6f7e113 (diff)
downloadtrackermap-web-4d31533af3b66fbbcff9565bedc13f4916b68e6c.tar.gz
trackermap-web-4d31533af3b66fbbcff9565bedc13f4916b68e6c.tar.bz2
trackermap-web-4d31533af3b66fbbcff9565bedc13f4916b68e6c.zip
Adds the media selector to the handle
-rw-r--r--modern/src/main/StatusCard.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/modern/src/main/StatusCard.js b/modern/src/main/StatusCard.js
index 852b7cc6..f80d9705 100644
--- a/modern/src/main/StatusCard.js
+++ b/modern/src/main/StatusCard.js
@@ -157,7 +157,7 @@ const StatusCard = ({ deviceId, onClose }) => {
<>
{device && (
<Draggable
- handle={`.${classes.header}`}
+ handle={deviceImage ? `.${classes.media}` : `.${classes.header}`}
>
<Card elevation={3} className={classes.card}>
{deviceImage ? (