scientist-softserv / utk-hyku

Other
6 stars 0 forks source link

🐛 Hide table that doesn't display anything #589

Closed kirkkwang closed 7 months ago

kirkkwang commented 7 months ago

This table seems to not display anything but it takes up space and makes the page scroll horizontally on the dashboard. We're very specifically targeting the table and hiding it.

The words looked a little too awkward when they were justified. This commit will remove that from the catalog search page on the DC view theme.

Story

Ref:

Expected Behavior Before Changes

There was horizontal scrolling on the dashboard page in mobile widths. The text on the catalog search results page was justified in mobile widths.

Expected Behavior After Changes

A none displaying table is set to display: none; on the dashboard to prevent horizontal scrolling. The is no longer justify aligned on the catalog search results page on mobile widths.

Screenshots / Video

horizontal-scroll

Before

image

After

image