interconnectit / Search-Replace-DB

This script was made to aid the process of migrating PHP and MySQL based websites. Works with most common CMSes.
https://interconnectit.com/products/search-and-replace-for-wordpress-databases/
GNU General Public License v3.0
3.99k stars 850 forks source link

Poor CSS in search & replace script v. 4.1.3 #360

Closed aldemarcalazans closed 3 years ago

aldemarcalazans commented 3 years ago

I found this script's CSS very poor. I guess you should at least increase the search and replace fields, in some page widths, as well as the database, username, pass and host fields, as follows:

.fields-large .sr-boxes input[type="text"] {
    min-width:19em;
}
div.sr-boxes span.label-text {
    display:inline-block;
    width:3em;
    text-align:right;
}

div.field.field-short:nth-of-type(1), div.field.field-short:nth-of-type(2), div.field.field-short:nth-of-type(3), div.field.field-short:nth-of-type(4) {
    min-width:19em;
}
div.field.field-short:nth-of-type(5) {
    width:6em;
}
gianluigi-icit commented 3 years ago

hello! thank you for spending your time on improving the script, the CSS code, like the rest is pretty old :)

could you please write a PR?

aldemarcalazans commented 3 years ago

Well, I simply have no practice with GitHub. I will take a look at the site documentation, and try to do it later...

aldemarcalazans commented 3 years ago

Hi. I guess I did it. I modified a little the code (make it simpler)

gianluigi-icit commented 3 years ago

awesome, let's close this one and discuss it over #361