openequella / openEQUELLA

Core openEQUELLA sources
https://openequella.github.io/
Apache License 2.0
42 stars 44 forks source link

Black line appears in DRM page in EBP UI #2970

Closed SammyIsConfused closed 3 years ago

SammyIsConfused commented 3 years ago

Describe the bug When in a DRM enabled collection that you have not accepted the terms for, in the new UI with new search turned off, a black bar appears across the previous and next buttons.

To Reproduce Steps to reproduce the behavior:

  1. Turn on the new UI, but turn off the new search page.
  2. As a user that hasn't accepted the DRM (for a collection that requires accepting before viewing the item summary), visit the item summary, which should open a DRM terms of use accept dialog.
  3. Note the black horizontal rule across the previous and next buttons.

Expected behavior The black bar should not appear.

Screenshots image

Platform:

SammyIsConfused commented 3 years ago
.itemsummary-layout #col2 hr { 
        display: none;
        }

This snippet of CSS seems to fix the issue.

stale[bot] commented 3 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

SammyIsConfused commented 3 years ago

image This still happens on the head of develop, and the fix still works too. Very minor graphical issue, but considering the fix commented above still works, potentially worth fixing.

snehanaik22 commented 3 years ago

Performed test and verified black line is not appearing for DRM page in EBP UI.