what's causing inline width to not be as wide as the content?

what's causing inline width to not be as wide as the content?

h.causevich.causevic Posts: 6Questions: 3Answers: 1

i assumed "responsive: true" helps with that but it seems to be doing something entirely different.

it basically makes the text harder to edit when the inline input width is 1/3 of the actual text.

This question has an accepted answers - jump to answer

Answers

  • h.causevich.causevic Posts: 6Questions: 3Answers: 1

    adding width:100% to "DIV.DTE_FIELD input" seems to fix it but is there a neater way than adding the attribute?

  • h.causevich.causevic Posts: 6Questions: 3Answers: 1
    Answer ✓

    i solved it with

    that.editor[table_name].editor.on('opened', (e) => { let modifier = $(e.target.modifier()) modifier.find(".DTE_Field input").css("width", "100%") });

    not sure if ideal

Sign In or Register to comment.