diff options
author | Luiz Kill <luizkill@gmail.com> | 2022-08-02 11:11:16 -0300 |
---|---|---|
committer | Luiz Kill <luizkill@gmail.com> | 2022-08-02 11:11:16 -0300 |
commit | 4d31533af3b66fbbcff9565bedc13f4916b68e6c (patch) | |
tree | 6f41355ddb55767b627a92687482409f0b1f86b3 /modern/src | |
parent | 2b25556ab78528cc77767f352aff5fc3f6f7e113 (diff) | |
download | trackermap-web-4d31533af3b66fbbcff9565bedc13f4916b68e6c.tar.gz trackermap-web-4d31533af3b66fbbcff9565bedc13f4916b68e6c.tar.bz2 trackermap-web-4d31533af3b66fbbcff9565bedc13f4916b68e6c.zip |
Adds the media selector to the handle
Diffstat (limited to 'modern/src')
-rw-r--r-- | modern/src/main/StatusCard.js | 2 |
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 ? ( |