Bug 35707: (alternate) Add clearfix to item statuses
authorOwen Leonard <oleonard@myacpl.org>
Mon, 8 Jan 2024 16:42:45 +0000 (16:42 +0000)
committerKatrin Fischer <katrin.fischer@bsz-bw.de>
Tue, 16 Jan 2024 15:35:07 +0000 (16:35 +0100)
commiteae604c437a9d47f0a846e91162030581cfa0405
treebe4159bd729732a67830ad0dc2063dd55bdb0160
parent660b4fc218c93001e66507f7ac0ac81b3cca0bb2
Bug 35707: (alternate) Add clearfix to item statuses

This proposed alterantive patch adds changes the status <span>s to
<div>s. A div is basically the block-level equivalent of a span. This
has the same effect of pushing each status onto its own line.

The patch also adds generic "item_status" class to the <div>s as well so
that we can attach a consistent style to all statuses. The patch
includes a small amount of padding on these items in order to repeat
legibility.

To test, apply the patch and rebuild the staff interface CSS.

1) Add an item to stockrotation and trigger the first transfer
2) Place a hold on the item
3) Note that you will now see two statuses, one above the other as
   displayed in the screenshots attached to the bug.

Signed-off-by: David Nind <david@davidnind.com>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
koha-tmpl/intranet-tmpl/prog/css/src/staff-global.scss
koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt