Skip to content

Commit

Permalink
fix(DataTable): add absolute back to batch data (#6660)
Browse files Browse the repository at this point in the history
Absolute positioning with right and left moving for items in Batch actions to match proper styling (as seen in all Carbon Design docs).  

This will not allow scrolling, but if we want scrolling it seems we should maybe alter the design on tablet and under instead of tossing everything to the left.

Co-authored-by: TJ Egan <tw15egan@gmail.com>
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
  • Loading branch information
3 people committed Aug 19, 2020
1 parent 8ebb277 commit be3ecf4
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -390,6 +390,8 @@

//btns container
.#{$prefix}--action-list {
position: absolute;
right: 0;
display: flex;
}

Expand Down Expand Up @@ -469,6 +471,8 @@

// items selected text
.#{$prefix}--batch-summary {
position: absolute;
left: 0;
display: flex;
align-items: center;
margin-left: $spacing-05;
Expand Down

0 comments on commit be3ecf4

Please sign in to comment.