[Support request] Suggestion: be able to edit screen height in elements GP

Home Forums Support [Support request] Suggestion: be able to edit screen height in elements GP

Home Forums Support Suggestion: be able to edit screen height in elements GP

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #1964985
    iain022

    Hello there,

    First of all, congratulations on your great work in GP.

    I would like to suggest making the code screen height editable on the elements page of GP so that it can be made higher. Now you can only see 16 lines of code and sometimes I would like to stretch it to take up all the space in height of the screen and be able to see 30 or 40 lines of code at the same time.

    See this image to understand it better:
    https://ibb.co/JK0swtQ

    Many thanks for your work.

    *Feel free to delete this post if it is not the right place to post it.

    #1965180
    David
    Staff
    Customer Support

    Hi there,

    thanks for the feedback and this is absolutely the right place to post this 🙂
    You can add this CSS snippet to set the codeMirrors height:

    add_action( 'admin_head', function() {
        echo '<style>
        .post-type-gp_elements .CodeMirror {
            height: 500px;
        }
        </style>';
    });
    #1965818
    iain022

    Hi, David

    Thank you for your support, it’s works great.

    Best Regards,

    #1965880
    David
    Staff
    Customer Support

    Glad to hear that

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.