[Bug 39403] New: showmarc.pl confusing broken vertical align
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39403 Bug ID: 39403 Summary: showmarc.pl confusing broken vertical align Change sponsored?: --- Product: Koha Version: Main Hardware: All OS: All Status: NEW Severity: minor Priority: P5 - low Component: Accessibility Assignee: koha-bugs@lists.koha-community.org Reporter: schodkowy.omegi-0r@icloud.com QA Contact: testopia@bugs.koha-community.org CC: martin.renvoize@ptfs-europe.com, matt.blenkinsop@ptfs-europe.com, oleonard@myacpl.org Created attachment 179570 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=179570&action=edit The problem Just so we don't forget. The cells are vertically aligned to middle, which makes it easy to be fooled that what's above MARC field label belongs to the field above (see attachment, would you realize under 010, the second _a belongs to 024 instead?). This affects both: - catalogue/showmarc.pl - koha/opac-showmarc.pl Fix: remove inline style on `<th style="white-space:nowrap">` add style block: ```css th { white-space: nowrap; vertical-align: top; } ``` Adding borders was considered and deemed unfavorable. Reference: https://chat.koha-community.org/koha-community/pl/keqr7reqhpd49qh88tz3zr9xny -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39403 --- Comment #1 from Michał <schodkowy.omegi-0r@icloud.com> --- Created attachment 179571 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=179571&action=edit After applying the fix -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39403 David Cook <dcook@prosentient.com.au> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |dcook@prosentient.com.au -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39403 --- Comment #2 from Owen Leonard <oleonard@myacpl.org> --- Created attachment 179607 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=179607&action=edit Inspect view of the simple MARC view in the staff interface I don't see this problem in the OPAC or the staff interface in main. -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39403 --- Comment #3 from Owen Leonard <oleonard@myacpl.org> --- Created attachment 179608 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=179608&action=edit Inspect view of the simple MARC view in the OPAC -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39403 --- Comment #4 from Michał <schodkowy.omegi-0r@icloud.com> --- Ah, and now I get how this bug had to emerge without anyone noticing: OPAC's plain MARC view makes an AJAX call and inserts the resulting HTML inline into the element you've shown on the right with id #plainmarc, which styles it. The problem is: not sure about OPAC, but showmarc.pl in the staff interface in some cases is shown as a standalone page in a new tab (such as in staged records for import, if you click on the matched record link). In such case, no styling is applied. On that note, I'm not sure why it's an AJAX call there to begin with, but that's a matter for another bug maybe (along with considering not making the three tabs in bib view separate pages to begin with either) -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
participants (1)
-
bugzilla-daemon@bugs.koha-community.org