aboutsummaryrefslogtreecommitdiff
path: root/modern/src/common
diff options
context:
space:
mode:
Diffstat (limited to 'modern/src/common')
-rw-r--r--modern/src/common/components/StatusCard.js2
-rw-r--r--modern/src/common/theme/dimensions.js1
2 files changed, 2 insertions, 1 deletions
diff --git a/modern/src/common/components/StatusCard.js b/modern/src/common/components/StatusCard.js
index 81b4049a..c389636c 100644
--- a/modern/src/common/components/StatusCard.js
+++ b/modern/src/common/components/StatusCard.js
@@ -57,7 +57,7 @@ const useStyles = makeStyles((theme) => ({
content: {
paddingTop: theme.spacing(1),
paddingBottom: theme.spacing(1),
- 'max-height': '40vh',
+ maxHeight: theme.dimensions.cardContentMaxHeight,
overflow: 'scroll',
},
negative: {
diff --git a/modern/src/common/theme/dimensions.js b/modern/src/common/theme/dimensions.js
index 3d014895..4930803a 100644
--- a/modern/src/common/theme/dimensions.js
+++ b/modern/src/common/theme/dimensions.js
@@ -10,4 +10,5 @@ export default {
popupMapOffset: 300,
popupMaxWidth: 288,
popupImageHeight: 144,
+ cardContentMaxHeight: '40vh',
};