1
0
mirror of https://github.com/PanJiaChen/vue-element-admin.git synced 2025-08-07 18:25:45 +08:00

style of the product information table in mobile mode (#890)

Co-authored-by: elsiosanchez <elsiossanches@gmail.com>
This commit is contained in:
Elsio Sanchez 2021-05-31 18:47:28 -04:00 committed by GitHub
parent 9ceb7eafa1
commit 906ff72abc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -18,6 +18,7 @@
<template>
<el-main
v-shortkey="shortsKey"
style="height: 90vh;"
>
<el-form
v-shortkey="shortsKey"
@ -38,7 +39,7 @@
:data="listWithPrice"
border
fit
:height="isMobile ? '300' : '550'"
class="table-product-info"
highlight-current-row
@row-click="findlistProductWithRow"
@current-change="handleCurrentChange"
@ -420,3 +421,10 @@ export default {
}
}
</script>
<style>
.table-product-info {
max-height: 80%;
min-height: 80%;
overflow: auto
}
</style>