• Resolved janpaulkleijn

    (@janpaulkleijn)


    Hi there,
    Great plugin, first of all. Together with Quotes very powerful and easy to use, big respect.

    I want to solve a teeny weeny issue for you, just as a token of my appreciation.

    In the settings screen you use some HTML code that is not supported in HTML5. The code I am referring to is the attribute scope in the <th> tags, used for the smaller titles in between the form fields. This causes these titles to be the width of the first column only. That could become looking untidy when these titles are translated. A simple solution to the CSS could solve it though…

    /* Invoice Settings */
    .wpi-wpinv-settings th[scope="row"] {
    	min-height: 1.4rem;
    	display: inline-block;
    }
    .wpi-wpinv-settings th[scope="row"] h3 {
    	position: absolute;
    }

    This sets the <th>-cell to a minimum height of 1.4rem and positions the header block in it (the <h3> tag) as an absolute element in it. This way it can easily ‘break out’ of the <th>-cell, into the <td>-cell next to it.

    As far as I can see this solution is markup language independant and does not affect the responsive-ity of the settings screen.

    The only thing needed is CSS2, and that is not too much to ask if I may say so 😉

    By the way, if I can interest you in a Dutch translation of your Quotes plugin add-on, just let me know and I’ll e-mail it to you.

    The page I need help with: [log in to see the link]

Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Settings screen css correction’ is closed to new replies.