mdsimpson / contact-form-7-to-database-extension

CFDB - WordPress plugin to save form submissions into a database
GNU General Public License v3.0
240 stars 59 forks source link

Improving display of results #99

Open bkjproductions opened 1 year ago

bkjproductions commented 1 year ago

Not knocking the display of the results, but this simple bit of CSS might make the table easier to read:

table#cf2dbtable td {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    vertical-align: top;
}
kherasymenko commented 3 months ago

Not knocking the display of the results, but this simple bit of CSS might make the table easier to read:

table#cf2dbtable td {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    vertical-align: top;
}

Do I need add this style to end of file contact-form-7-to-database-extension/css/misctable.css ?

Thanks in advance!

bkjproductions commented 3 months ago

Yes, that would do it, but if the plugin is ever updated, you would need to update this again, probably. Also try this, if you have fields that are textarea---that is, it seems the data is wrapped within each TD with a DIV:

table#cf2dbtable td div {
    height: 1.5em;
     overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    vertical-align: top;
    max-width: 15em;
}