Menu

#492 type="text" missing in #edit-fields table

Git
closed-wont-fix
nobody
5
2017-02-20
2016-04-12
Yoji
No

Properly styling the edit-fields table is not fully possible since the type="text" HTML declaration is missing from the input fields in this table. Due to this, the CSS style #edit-fields input[type="text"] doesn't works :-(

Also, unique class names like class="edit-fields-field" or class="edit-fields-comment" would be VERY useful to properly style the table with css.

I'm struggling to style the table, since the input fields have automatic widths and I would like to have narrow 'default' inputs and very wide 'comment' inputs.

It is possible to:

  • add type="text" to every single-line input in the table?
  • add a separate class for every single input in the table?

Thank you!

Discussion

  • Jakub Vrána

    Jakub Vrána - 2017-02-20
    • status: open --> closed-wont-fix
     
  • Jakub Vrána

    Jakub Vrána - 2017-02-20

    These would increase both the source code size and the transferred code size. You can use input:not([type]) to check a missing type attribute. Try using :nth-child for matching the individual fields.

     

Log in to post a comment.

MongoDB Logo MongoDB