diff --git a/app/static/app/css/main.scss b/app/static/app/css/main.scss
index b2908526e..ed8a59213 100644
--- a/app/static/app/css/main.scss
+++ b/app/static/app/css/main.scss
@@ -34,6 +34,7 @@ html, body, section.main, .content, #wrapper, #page-wrapper{
}
[data-mapview], .model-view{
height: calc(100vh);
+ height: calc(100dvh);
}
}
@@ -110,13 +111,15 @@ ul#side-menu.nav{
}
.content{
- clear: both;
padding-top: 8px;
h1,h2,h3,h4,h5{
padding-top: 4px;
margin-top: 0;
}
+ h3{
+ font-size: 24px;
+ }
}
.top-buffer {
@@ -147,6 +150,7 @@ ul#side-menu.nav{
.modal-body {
max-height: calc(100vh - 220px);
+ max-height: calc(100dvh - 220px);
overflow-y: auto;
}
@@ -216,7 +220,7 @@ button i.glyphicon{
float: right;
margin-right: 15px;
padding: 9px 10px;
- margin-top: 5px;
+ margin-top: 7px;
margin-bottom: 5px;
}
@@ -263,9 +267,16 @@ footer{
.full-height{
height: calc(100vh - 110px);
+ height: calc(100dvh - 110px);
padding-bottom: 12px;
}
.floatfix{
clear: both;
}
+
+.model-title{
+ text-overflow: ellipsis;
+ overflow: hidden;
+ white-space: nowrap;
+}
diff --git a/app/static/app/js/MapView.jsx b/app/static/app/js/MapView.jsx
index 10931964f..a6316e69b 100644
--- a/app/static/app/js/MapView.jsx
+++ b/app/static/app/js/MapView.jsx
@@ -112,18 +112,21 @@ class MapView extends React.Component {
if (mapTypeButtons.length === 1) mapTypeButtons = [];
return (
-
- {mapTypeButtons.map(mapType =>
-
- )}
+
+ {this.props.title ?
+
{this.props.title}
+ : ""}
+
+
+ {mapTypeButtons.map(mapType =>
+
+ )}
+
-
- {this.props.title ?
-
{this.props.title}
- : ""}
);
}
let statusLabel = "";
@@ -739,36 +739,22 @@ class TaskListItem extends React.Component {
/>
: ""}
-
+
{name}
{userTags.length > 0 ?
userTags.map((t, i) =>
{t}
)
: ""}
-
+
{task.images_count}
-
+
{this.hoursMinutesSecs(this.state.time)}
-
- {taskActions.length > 0 ?
-
- : ""}
-
-
+
-
{taskActions.length > 0 ?