[Koha-bugs] [Bug 28066] New: Remove select tag's size attribute where it is 1

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Mar 31 13:36:03 CEST 2021


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

            Bug ID: 28066
           Summary: Remove select tag's size attribute where it is 1
 Change sponsored?: ---
           Product: Koha
           Version: master
          Hardware: All
                OS: All
            Status: ASSIGNED
          Severity: enhancement
          Priority: P5 - low
         Component: Templates
          Assignee: oleonard at myacpl.org
          Reporter: oleonard at myacpl.org
        QA Contact: testopia at bugs.koha-community.org

There are quite a few places in the templates where a <select> tag's size
attribute is defined as "1." This is not necessary because the default setting
for the tag is 1.

It becomes a problem when using Bootstrap because Bootstrap's CSS targets
<select> tags with a size attribute:

select[multiple], select[size] {
    height: auto;
}

The goal is to be able to set a comfortable height property to <select> tags
which are size 1. Removing the attribute in cases where it is equal to 1 will
allow us to consistently size a <select> tag while allowing multiple selects to
have the correct size.

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list