Forums / Bug Reports / [Done v155b] admin css selector language-dependent

[Done v155b] admin css selector language-dependent

Results 1 to 2 of 2
16 Apr 2016, 14:47
#1
torvista avatar

torvista

Totally Zenned

Join Date:
Aug 2007
Posts:
2,850
Plugin Contributions:
3

[Done v155b] admin css selector language-dependent

While investigating why the admin buttons were not aligned ONLY in spanish:
Attachment 16227

I found this surprise in the css:
img[alt="Cancel"], img[alt="Reset"]{
vertical-align: top;
}


which evidently will not work for non-english alt tags.

I changed it to this:
img[src*="button_cancel"], img[src*="button_reset"]{
vertical-align: top;
}