浏览代码

fix(webapp): increase width of subname column in RR set list

The problem with the automatic scaling of column width in v-data-table
is that all our contents (even the ones you cannot edit) are input
element. Input elements must have a defined width -- as opposed to
other elements, they do not grow with content. Now which width
should we assign? I couldn't find a satisfactory solution, so this
just adjusts the pre-defined column widths a bit.

closes #476
Nils Wisiol 4 年之前
父节点
当前提交
58954dc80b
共有 1 个文件被更改,包括 1 次插入2 次删除
  1. 1 2
      webapp/src/views/Domain/CrudDomain.vue

+ 1 - 2
webapp/src/views/Domain/CrudDomain.vue

@@ -37,7 +37,7 @@ export default {
           datatype: 'RRSetType',
           datatype: 'RRSetType',
           searchable: true,
           searchable: true,
           writeOnCreate: true,
           writeOnCreate: true,
-          width: '130px',
+          width: '120px',
         },
         },
         subname: {
         subname: {
           name: 'item.subname',
           name: 'item.subname',
@@ -49,7 +49,6 @@ export default {
           datatype: 'GenericText',
           datatype: 'GenericText',
           searchable: true,
           searchable: true,
           writeOnCreate: true,
           writeOnCreate: true,
-          width: '200px',
         },
         },
         records: {
         records: {
           name: 'item.records',
           name: 'item.records',