• Resolved tproli

    (@tproli)


    Hi,

    the Custom CSS option is only for the front-end if I get it right. However, it would be great if there would be a similar textarea for the admin, or a dedicated CSS file that would be pulled in if it exists.

    Currently I’m using this devtools “snippet” to quickly resize textareas and highlight the active row:

    
    var sheet = (function() {
    	var style = document.createElement("style");
    	style.appendChild(document.createTextNode(""));
    	document.head.appendChild(style);
    	return style.sheet;
    })();
    
    sheet.insertRule("tr.focus td { background: #69A8BB; }", 0);
    sheet.insertRule("textarea { min-width: 360px !important; min-height: 96px; }", 0);
    sheet.insertRule("tr td:nth-child(3) textarea { min-width: 600px !important; }", 0);
    
    • This topic was modified 7 years, 11 months ago by tproli.
Viewing 1 replies (of 1 total)
  • Plugin Author Tobias B?thge

    (@tobiasbg)

    Hi,

    thanks for your post, and sorry for the trouble. Also, please excuse the long wait for a reply. I just returned from holidays last night and was not able to reply earlier. Thanks for your understanding.

    There’s indeed no textarea to add such code in TablePress, but you can use this TablePress Extension: https://tablepress.org/extensions/input-field-size/

    Regards,
    Tobias

Viewing 1 replies (of 1 total)
  • The topic ‘CSS for the admin’ is closed to new replies.