Skip to content

Commit 3c9d351

Browse files
Fixes Mobile View of dashboard
This commit improves the Mobile UI of Dashboard It Includes fixes of content Overflowing out of boxes in Mobile UI. Signed-off-by: Sourabh Saraswat <[email protected]>
1 parent 2f3796b commit 3c9d351

File tree

3 files changed

+18
-4
lines changed

3 files changed

+18
-4
lines changed

Diff for: ui/src/components/IndividualEntry.vue

+4-2
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@
8585
</v-list-item>
8686
</td>
8787

88-
<td class="text-center">
88+
<td class="d-none d-sm-none d-md-table-cell text-center">
8989
<span v-if="isLocked" class="mr-7">{{ email }}</span>
9090
<v-edit-dialog v-else @save="$emit('edit', { email: form.email })">
9191
{{ email }}
@@ -103,7 +103,7 @@
103103
</v-edit-dialog>
104104
</td>
105105

106-
<td class="text-right">
106+
<td class="d-none d-sm-table-cell text-right">
107107
<v-tooltip
108108
v-for="(source, index) in sources"
109109
:key="index"
@@ -294,6 +294,7 @@ export default {
294294
}
295295
.v-list-item__title {
296296
text-overflow: inherit;
297+
width: 100px;
297298
}
298299
.aligned {
299300
margin-bottom: 4px;
@@ -331,4 +332,5 @@ tr {
331332
}
332333
}
333334
}
335+
334336
</style>

Diff for: ui/src/components/WorkSpace.vue

+2-2
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
@dragenter.prevent="onDrag($event)"
99
@dragleave.prevent="isDragging = false"
1010
>
11-
<v-row class="ma-md-0 pt-md-4 pl-md-4 pr-md-4 justify-space-between">
11+
<v-row class="ma-md-0 pt-md-4 pl-md-4 pr-md-4 ml-0 mr-0 justify-space-between">
1212
<h3 class="title">
1313
<v-icon color="black" left>
1414
mdi-pin
@@ -47,7 +47,7 @@
4747
<v-row
4848
v-if="savedIndividuals.length >= 1"
4949
dense
50-
class="pa-md-4 ma-md-0 drag-zone"
50+
class="pa-md-4 ma-md-0 ml-0 mr-0 drag-zone"
5151
>
5252
<v-col
5353
v-for="individual in savedIndividuals"

Diff for: ui/src/views/Dashboard.vue

+12
Original file line numberDiff line numberDiff line change
@@ -283,6 +283,10 @@ export default {
283283
.row {
284284
justify-content: space-between;
285285
margin: 32px;
286+
287+
@media (max-width: 960px) {
288+
margin: 0;
289+
}
286290
}
287291
.individuals {
288292
width: 70%;
@@ -299,9 +303,17 @@ export default {
299303
300304
@media (max-width: 960px) {
301305
max-width: 100%;
306+
min-width: 100%;
302307
margin: 32px 0 0 0;
303308
}
304309
}
310+
311+
.container{
312+
@media (max-width: 960px) {
313+
padding: 0;
314+
}
315+
}
316+
305317
h4 {
306318
padding: 12px 26px;
307319
}

0 commit comments

Comments
 (0)