refactor(gui): increase default column width

Signed-off-by: Pranav C <pranavxc@gmail.com>
This commit is contained in:
Pranav C
2021-11-25 12:48:40 +05:30
parent 037e957741
commit 4891e7afdb
2 changed files with 6 additions and 5 deletions

View File

@@ -327,7 +327,7 @@ export default {
style() {
let style = ''
for (const c of this.availableColumns) {
const val = (this.columnsWidth && this.columnsWidth[c.alias]) || (c.virtual ? '200px' : (columnStyling[c.uidt] && columnStyling[c.uidt].w))
const val = (this.columnsWidth && this.columnsWidth[c.alias]) || (c.virtual ? '200px' : ((columnStyling[c.uidt] && columnStyling[c.uidt].w) || '150px'))
if (val && c.key !== this.resizingCol) {
style += `[data-col="${c.alias}"]{min-width:${val};max-width:${val};width: ${val};}`
}