Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🐛 Hide table that doesn't display anything #589

Merged
merged 2 commits into from
Feb 12, 2024

Conversation

kirkkwang
Copy link
Contributor

@kirkkwang kirkkwang commented Feb 12, 2024

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

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.
@kirkkwang kirkkwang merged commit cacd6dd into main Feb 12, 2024
7 checks passed
@kirkkwang kirkkwang deleted the dashboard-horizontal-scroll-fix branch February 12, 2024 21:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants