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

Make table detail column scroll when content exceeds viewport #818

Merged
merged 8 commits into from
May 2, 2018

Conversation

Stanton
Copy link
Member

@Stanton Stanton commented Apr 30, 2018

Change position from abolute to fixed and add overflow behaviour.

Closes #814

Before

table-detail-before

After

table-detail-after

Browser Testing Checklist

  • Chrome
  • Safari
  • Firefox
  • Edge
  • IE 11
  • IE 10
  • IE 9
  • Mobile Safari
  • Samsung Internet (looks awkward, but is expected behaviour for this browser)

Breaking change quick checklist

The following points should be considered as an early-warning of introducing a breaking change to a Continuum platform product. This is not an exhaustive list of what constitutes a breaking change.

Does this pull request... Yes / No
require changes to main.js ✅ No
require changes to index.js ✅ No
require changes to pulsar.scss ✅ No
require changes to gruntfile.js ✅ No
require changes to package.json (not including dev dependencies) ✅ No
require changes to base.html.twig (or other core views like header/footer) ✅ No
require new arguments to be passed to a js component ✅ No
require markup changes to maintain functionality ✅ No

Change position from abolute to fixed and add overflow behaviour.

Closes #814
@codecov-io
Copy link

codecov-io commented Apr 30, 2018

Codecov Report

Merging #818 into develop will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff            @@
##           develop     #818   +/-   ##
========================================
  Coverage    97.33%   97.33%           
========================================
  Files           55       55           
  Lines         1948     1948           
========================================
  Hits          1896     1896           
  Misses          52       52
Impacted Files Coverage Δ
js/TableDetailComponent.js 100% <ø> (ø) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 845fa7b...dc4c0d5. Read the comment docs.

@Stanton Stanton changed the title Make table detail column scroll when content exceed viewport Make table detail column scroll when content exceeds viewport Apr 30, 2018
@@ -333,3 +333,13 @@ div.no-results {
.u-margin-bottom-none {
margin-bottom: 0 !important;
}

%u-margin-bottom-1,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What if the name was just 'u-margin-bottom' for this one and 'u-margin-bottom-2x' for the next class? With just 1 and 2 added at the end might not be clear what is their purpose.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah, I agree with @nvasileiadis I'd rather we had u-margin-bottom and u-margin-bottom--large for example. That would make it a little more consistent with other utility classes with modifiers.

@@ -333,3 +333,13 @@ div.no-results {
.u-margin-bottom-none {
margin-bottom: 0 !important;
}

%u-margin-bottom-1,
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah, I agree with @nvasileiadis I'd rather we had u-margin-bottom and u-margin-bottom--large for example. That would make it a little more consistent with other utility classes with modifiers.

@Stanton Stanton merged commit 1e66e3f into develop May 2, 2018
@Stanton Stanton deleted the 814_table-detail-scroll branch May 2, 2018 11:22
@Stanton Stanton added this to the 7.1.x milestone May 2, 2018
Stanton added a commit that referenced this pull request Jan 2, 2019
Make table detail column scroll when content exceeds viewport
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Table detail column container scrolls rather than contents
5 participants