Skip to content

Commit

Permalink
update the table column size
Browse files Browse the repository at this point in the history
  • Loading branch information
jianwu committed Nov 29, 2023
1 parent 5e1671b commit 75aec2f
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions src/components/td-Value.vue
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<template>
<div class="td-value" :class="{'td-value-max-width' : !isLastCol}">
<div class="td-value" :class="{'td-value-max-width' : true, 'td-value-max-height': true }">
<div v-if='!value'></div>
<div v-else-if="html" v-html="html"/>
<div v-else-if="isRawValue">{{value}}</div>
Expand Down Expand Up @@ -72,7 +72,12 @@ export default {
overflow-x: auto;
}
.td-value-max-width {
max-width: 1500px;
max-height: 500px;
widows: 100%;
max-width: 95vw;
}
.td-value-max-height {
max-height: 150px;
}
</style>>

0 comments on commit 75aec2f

Please sign in to comment.