Skip to content

Commit 76c5567

Browse files
committed
Avoid overlapping bottom navigator with metadata box on mobile screen
1 parent 1bbc3ba commit 76c5567

File tree

5 files changed

+6
-13
lines changed

5 files changed

+6
-13
lines changed

frontend/components/containers/annotation/BottomNavigator.vue

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
11
<template>
22
<v-bottom-navigation
3+
app
34
absolute
45
hide-on-scroll
5-
background-color="transparent"
6-
class="elevation-0"
76
>
87
<v-btn @click="prevPage">
98
<span>Prev</span>

frontend/layouts/annotation.vue

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,18 +19,21 @@
1919
</v-navigation-drawer>
2020

2121
<nuxt />
22+
<bottom-navigator class="d-flex d-sm-none" />
2223
</v-app>
2324
</template>
2425

2526
<script>
2627
import { mapActions, mapGetters } from 'vuex'
2728
import TheSideBar from '~/components/organisms/layout/TheSideBar'
2829
import TheHeader from '~/components/organisms/layout/TheHeader'
30+
import BottomNavigator from '@/components/containers/annotation/BottomNavigator'
2931
3032
export default {
3133
components: {
3234
TheSideBar,
33-
TheHeader
35+
TheHeader,
36+
BottomNavigator
3437
},
3538
data() {
3639
return {

frontend/pages/projects/_id/sequence-labeling/index.vue

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@
1515
<paginator />
1616
</v-col>
1717
</v-row>
18-
<bottom-navigator class="d-flex d-sm-none" />
1918
<v-row justify="center">
2019
<v-col cols="12" md="9">
2120
<v-card>
@@ -43,7 +42,6 @@ import ApproveButton from '@/components/containers/annotation/ApproveButton'
4342
import GuidelineButton from '@/components/containers/annotation/GuidelineButton'
4443
import FilterButton from '@/components/containers/annotation/FilterButton'
4544
import MetadataBox from '@/components/organisms/annotation/MetadataBox'
46-
import BottomNavigator from '@/components/containers/annotation/BottomNavigator'
4745
4846
export default {
4947
layout: 'annotation',
@@ -52,7 +50,6 @@ export default {
5250
5351
components: {
5452
ApproveButton,
55-
BottomNavigator,
5653
EntityItemBox,
5754
FilterButton,
5855
Paginator,

frontend/pages/projects/_id/sequence-to-sequence/index.vue

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@
1313
<paginator />
1414
</v-col>
1515
</v-row>
16-
<bottom-navigator class="d-flex d-sm-none" />
1716
<v-row justify="center">
1817
<v-col cols="12" md="9">
1918
<seq2seq-container />
@@ -35,7 +34,6 @@ import Seq2seqContainer from '~/components/containers/annotation/Seq2seqContaine
3534
import Paginator from '~/components/containers/annotation/Paginator'
3635
import GuidelineButton from '@/components/containers/annotation/GuidelineButton'
3736
import MetadataBox from '@/components/organisms/annotation/MetadataBox'
38-
import BottomNavigator from '@/components/containers/annotation/BottomNavigator'
3937
4038
export default {
4139
layout: 'annotation',
@@ -46,8 +44,7 @@ export default {
4644
Seq2seqContainer,
4745
Paginator,
4846
GuidelineButton,
49-
MetadataBox,
50-
BottomNavigator
47+
MetadataBox
5148
},
5249
5350
computed: {

frontend/pages/projects/_id/text-classification/index.vue

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@
1313
<paginator />
1414
</v-col>
1515
</v-row>
16-
<bottom-navigator class="d-flex d-sm-none" />
1716
<v-row justify="center">
1817
<v-col cols="12" md="9">
1918
<text-classification />
@@ -35,15 +34,13 @@ import TextClassification from '~/components/containers/annotation/TextClassific
3534
import Paginator from '~/components/containers/annotation/Paginator'
3635
import GuidelineButton from '@/components/containers/annotation/GuidelineButton'
3736
import MetadataBox from '@/components/organisms/annotation/MetadataBox'
38-
import BottomNavigator from '@/components/containers/annotation/BottomNavigator'
3937
4038
export default {
4139
layout: 'annotation',
4240
4341
middleware: ['check-auth', 'auth'],
4442
4543
components: {
46-
BottomNavigator,
4744
TextClassification,
4845
Paginator,
4946
GuidelineButton,

0 commit comments

Comments
 (0)