https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=38008

            Bug ID: 38008
           Summary: Presentation CSS on <label> makes it hard to use for
                    radio buttons and Flatpickr
 Change sponsored?: ---
           Product: Koha
           Version: Main
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P5 - low
         Component: Templates
          Assignee: [email protected]
          Reporter: [email protected]
        QA Contact: [email protected]

In the case I'm trying to fix, Cataloging - Inventory, there are radio buttons
for Home library or Current library, so the way radio buttons work those
phrases should be the <label>s, so that clicking them toggles the buttons
themselves. But the presentation of the whole page is geared to CSS for label,
with only a little of it for .label, which assumes that whenever you have
<fieldset class="rows"> ... <label> you will want that label to float: left and
text-align: right, etc.

Flatpickr is a somewhat similar problem: the project has decided that people
who want to have the id in their dummy <input> which Flatpickr hides and
replaces with its input transferred to the Flatpicker input are silly, because
you can just wrap a label around the thing it is for, rather than having a
sibling label with a for attribute pointing to the id of the input. But because
of the floating and text-aligning, etc., of label, if you have <label>Set
inventory date to: <input class="flatpickr"/></label> you get a ton of unwanted
inherited presentation.

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to