]> git.koha-community.org Git - koha.git/commit
Bug 9385 - patron add labels right aligned in chrome
authorOwen Leonard <oleonard@myacpl.org>
Mon, 11 Feb 2013 17:12:58 +0000 (12:12 -0500)
committerChris Cormack <chris@bigballofwax.co.nz>
Tue, 26 Feb 2013 08:29:13 +0000 (21:29 +1300)
commit9a820217542409054da04511297d5027dd1e9ec8
tree0ff3de740ed8bbea8af815c6b8e2dd466522050d
parentaef12235f52e9f7465cdbaefd52986d6f82b7ecc
Bug 9385 - patron add labels right aligned in chrome

The <legend> element has been given right alignment which seems to only
be respected by WebKit-based browsers. Users of Chrome and Safari see a
right-aligned legend while others see a left-aligned one. Given that the
legend is often applied to fieldsets spanning much of the screen it
seems wiser to have them left-aligned.

This patch removes "text-align:right" from the CSS so that <legend> will
inherit the default left alignment. To test, view any page with a legend
element, for instance the patron add form. In Firefox, Chrome, Safari,
IE, etc. the legend ("Patron identity," "Main address," etc.) should be
left-aligned in the fieldset.

Signed-off-by: Bernardo Gonzalez Kriegel <bgkriegel@gmail.com>
Comment: Works as described. Tested in IE, Chrome, Firefox, Opera.
No errors.

Signed-off-by: Nicole C. Engard <nengard@bywatersolutions.com>
All tests pass

Signed-off-by: Jonathan Druart <jonathan.druart@biblibre.com>
Signed-off-by: Jared Camins-Esakov <jcamins@cpbibliography.com>
Signed-off-by: Chris Cormack <chris@bigballofwax.co.nz>
koha-tmpl/intranet-tmpl/prog/en/css/staff-global.css