[Koha-bugs] [Bug 26804] Limit the size of the News column in newst table (News Tool)

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Oct 23 20:11:24 CEST 2020


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

--- Comment #2 from Lucas Gass <lucas at bywatersolutions.com> ---
Created attachment 112296
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=112296&action=edit
Bug 26804: Limit the size of the News column in newst table

This patch attempts to make the table on koha-news.tt more manaagable by
limiting the width of the 'News' column and adding a sticky thead so you know
what column you are looking at when you scroll through News Items

To Test:
1. Add some HTML to a News Item. I am using a bunch of lorem ipsum HTML and
this image set to 1000px. '<img
src="https://koha-community.org/files/2013/09/cropped-kohabanner3.jpg"
width="1000" />' but I'm not your overlord so choose your own way.
2. Look at /cgi-bin/koha/tools/koha-news.pl and see all your content in the
News column. With a large image you have to scroll a long way to see the action
buttons (Edit, Delete)
3. Apply patch
4. Regenerate the staff CSS
(https://wiki.koha-community.org/wiki/Working_with_SCSS_in_the_OPAC_and_staff_client)
5. Clear you cache and again look at /cgi-bin/koha/tools/koha-news.pl. The
table should only be 200px wide no matter the size of your content.
6. Scroll down and notice the thead stays with you.
7. Try testing at many different screen size.

Question: Should we limit height as well?

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


More information about the Koha-bugs mailing list