Explorar el Código

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 hace 4 años
padre
commit
58954dc80b
Se han modificado 1 ficheros con 1 adiciones y 2 borrados
  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',
           searchable: true,
           writeOnCreate: true,
-          width: '130px',
+          width: '120px',
         },
         subname: {
           name: 'item.subname',
@@ -49,7 +49,6 @@ export default {
           datatype: 'GenericText',
           searchable: true,
           writeOnCreate: true,
-          width: '200px',
         },
         records: {
           name: 'item.records',