-
Notifications
You must be signed in to change notification settings - Fork 1
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
Alignment of ‘Show 100’, ‘CSV’, ‘CUSTOMIZE COLUMNS’ #1242
base: dev
Are you sure you want to change the base?
Alignment of ‘Show 100’, ‘CSV’, ‘CUSTOMIZE COLUMNS’ #1242
Conversation
…ns-boxes-to-be-in-one-line-on-the-delta-urls-page
align-items: center !important; | ||
} | ||
|
||
#exclude_patterns_table_wrapper, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can you explain these additional css modifications? How do they affect the ordering of Show 100, CSV, and Customize Columns?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Brief description of all modifications made:
- The .dt-container sets 'position: relative' on the .dt-container element which establishes the container as the positional reference for any child elements that are positioned absolutely(Any child with 'position: absolute' will be positioned relative to the boundaries of .dt-container, not the entire page)
- The .dt-container div.dt-buttons handles the alignment of the "Show 100" "CSV" and "Customize CSV" buttons. It uses 'flexbox' to arrange the buttons in a row, spaces them with 'gap', centers them vertically with 'align-items: center' and positions the group at the top right corner of its container with 'position: absolute' and 'justify-content: flex-end'
- The Updated styling includes modifications to properties like margin and display settings
- The subsequent code is associated with adjusting spacing and positioning as needed, due to the absolute positioning of .dt-buttons affecting the original placement of 'Add Pattern' and 'Customize Columns' in the Exclude/Include/Title pattern sections.
…o-be-in-one-line-on-the-delta-urls-page' of https://github.com/NASA-IMPACT/COSMOS into 1196-arrange-the-show-100-csv-customize-columns-boxes-to-be-in-one-line-on-the-delta-urls-page
…ns-boxes-to-be-in-one-line-on-the-delta-urls-page
…o-be-in-one-line-on-the-delta-urls-page' of https://github.com/NASA-IMPACT/COSMOS into 1196-arrange-the-show-100-csv-customize-columns-boxes-to-be-in-one-line-on-the-delta-urls-page
Let's update this in the following way:
|
…ns-boxes-to-be-in-one-line-on-the-delta-urls-page
for more information, see https://pre-commit.ci
Fixes issue #1196
