Prevent broken page layout from table overflow#3256
Open
ritorhymes wants to merge 2 commits intozaproxy:mainfrom
Open
Prevent broken page layout from table overflow#3256ritorhymes wants to merge 2 commits intozaproxy:mainfrom
ritorhymes wants to merge 2 commits intozaproxy:mainfrom
Conversation
Member
|
Great job! No new security vulnerabilities introduced in this pull requestUse @Checkmarx to reach out to us for assistance. Just send a PR comment with Examples: |
Member
|
To address the DCO requirement you'll need to sign-off the commit(s): |
274bac2 to
46cb499
Compare
Author
|
@kingthorin got it, thanks! I just took care of them. |
…e overflow Signed-off-by: Rito Rhymes <83614463+ritorhymes@users.noreply.github.com>
Created _tables.scss for global table helpers Extended .market-table with .sticky-table Moved .market-table from addson.scss to _tables.scss since it's reused on other pages Signed-off-by: Rito Rhymes <83614463+ritorhymes@users.noreply.github.com>
05da725 to
edab822
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.

Description
The tables throughout the site are not mobile responsive and cause horizontal page overflow when they're too wide to fit on the page. This breaks the layout on mobile and introduces difficulties scrolling around the page.
This fix:
_tables.scssfor table helper styles..sticky-tableclass to allow tables' top row of cells to remain fixed for context while scrolling..market-tablewith.sticky-tableso the top filter row is always accessible..market-tablefromaddons.scssinto_tables.scsssince it is reused on multiple pages.Pages with tables that had page overflow:
/docs/internal-statistics//docs/internal-events//docs/constants//docs/alerts/You can test the fix out on this page of the demo site zaproxy.ritovision.com/docs/constants/
Before and After
Recorded on an Android Chrome browser, screen size about 450px.
Before
zaproxy-tables-before_1.webm
After
zaproxy-tables-after.webm