Skip to content

Commit

Permalink
fixed the vue-select/bootstrap-vue css conflict sagalbot/vue-select#662
Browse files Browse the repository at this point in the history
  • Loading branch information
soichih committed Sep 26, 2018
1 parent a8942e8 commit 2e7fba6
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 2 deletions.
7 changes: 7 additions & 0 deletions ui/src/components/datatypeselecter.vue
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,13 @@
<datatype :datatype="datatype"/>
</template>
</v-select>
<!--
<el-select v-model="selected" placeholder="Select" v-if="datatypes">
<el-option v-for="datatype in datatypes" :key="datatype._id" :label="datatype.name" :value="datatype._id">
<datatype :datatype="datatype"/>
</el-option>
</el-select>
-->
</template>

<script>
Expand Down
4 changes: 2 additions & 2 deletions ui/src/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,8 @@ Vue.use(Meta);

/////////////////////////////////////// css /////////////////////////////////////

//import 'bootstrap/dist/css/bootstrap.min.css'
//import 'bootstrap-vue/dist/bootstrap-vue.min.css'
import 'bootstrap/dist/css/bootstrap.min.css'
import 'bootstrap-vue/dist/bootstrap-vue.min.css'

//is this for vue-element?
import '../theme/index.css'
Expand Down
6 changes: 6 additions & 0 deletions ui/src/warehouse.vue
Original file line number Diff line number Diff line change
Expand Up @@ -348,6 +348,12 @@ background-color: white;
.v-select {
font-family: inherit;
}
.v-select.dropdown .dropdown-toggle {
content: inherit; /*prevent bootstrap-vue css conflict*/
}
.v-select.dropdown .form-control {
height: inherit; /*prevent bootstrap-vue css conflict*/
}
.select2-container--default .select2-selection--single {
height: 36px;
Expand Down

0 comments on commit 2e7fba6

Please sign in to comment.