Update table.html styling for mobile view #1059
Open
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Fixes issue #738 : Styling adjustment needed in mobile view of table.html page
Summary
This pull request addresses the misalignment issue of the Collection, Reload, and DICOM buttons in the mobile view of table.html. The layout has been updated using CSS flex properties to maintain proper spacing, and provide a cleaner, user-friendly interface.
Changes include:
Adjusted CSS styling to align buttons for mobile view.
Implemented responsive design using media queries to target mobile screen sizes specifically.
Ensured no visual disruption to the desktop layout.
Video with the changes included:
Screen.Recording.2025-01-06.at.6.45.47.PM.mov
Before:
After:
Motivation
The current positioning of the Collection, Reload, and DICOM buttons in mobile view appears cluttered and unappealing. This PR enhances usability by improving button alignment and spacing.
Testing
Tested changes on:
-Mobile simulation: Google Chrome DevTools (Version 98.0.4758.102)
-Desktop simulation: Windows 10, Chrome responsive mode.