xxxxxxxxxx
1
<template>
2
<MDBContainer>
3
<MDBTabs>
4
<!-- Tabs navs -->
5
<MDBTabNav tabs-classes="mb-3 text-center">
6
<MDBTabItem
7
tag="button"
8
:wrap="false"
9
tab-id="ex6-1"
10
class="fw-bold"
11
>Click This Tab</MDBTabItem
12
>
13
</MDBTabNav>
14
<!-- Tabs navs -->
15
<!-- Tabs content -->
16
<MDBTabContent>
17
<MDBTabPane tab-id="ex6-1">
18
<MDBInput label="THIS LABEL OVERLAPS WITH THE BORDER"></MDBInput>
19
</MDBTabPane>
20
</MDBTabContent>
21
<!-- Tabs content -->
22
</MDBTabs>
23
</MDBContainer>
24
<hr/>
25
<div id="outsideOfTabs">
26
<MDBInput label="THIS LABEL DOES NOT OVERLAP WITH THE BORDER"></MDBInput>
27
</div>
28
</template>
xxxxxxxxxx
1
<style>
2
#app {
3
font-family: Roboto, Helvetica, Arial, sans-serif;
4
}
5
#outsideOfTabs {
6
padding-top: 100px;
7
}
8
</style>
xxxxxxxxxx
1
<script>
2
import { MDBContainer,
3
MDBCard,
4
MDBStepper,
5
MDBStepperStep,
6
MDBStepperHead,
7
MDBStepperContent,
8
MDBBtn,
9
MDBTabs,
10
MDBTabNav,
11
MDBTabContent,
12
MDBTabItem,
13
MDBTabPane, MDBInput} from "mdb-vue-ui-kit";
14
15
export default {
16
name: "App",
17
components: {
18
MDBContainer, MDBCard,
19
MDBStepper,
20
MDBStepperStep,
21
MDBStepperHead,
22
MDBStepperContent,
23
MDBBtn,
24
MDBTabs,
25
MDBTabNav,
26
MDBTabContent,
27
MDBTabItem,
28
MDBTabPane,
29
MDBInput
30
},
31
props: {
32
msg: String
33
},
34
};
35
</script>
Console errors: 0