Skip to content

Commit

Permalink
fix(react): update data-table based on audit (#10966)
Browse files Browse the repository at this point in the history
* chore: check-in work

* fix(styles): update search bar with data table

* docs(data-table): update batch actions > small story

Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
  • Loading branch information
joshblack and kodiakhq[bot] authored Mar 22, 2022
1 parent 0f68e76 commit 118938a
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -233,7 +233,7 @@ export const Small = () => (
</Button>
</TableToolbarContent>
</TableToolbar>
<Table {...getTableProps()}>
<Table {...getTableProps()} size="sm">
<TableHead>
<TableRow>
<TableSelectAll {...getSelectionProps()} />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -428,7 +428,7 @@
td,
tr.#{$prefix}--data-table--selected:first-of-type td {
// Top border acts as separator from thead
border-top: 1px solid $layer-active;
border-top: 1px solid $border-subtle-selected;
}

// last row + zebra select last
Expand Down
6 changes: 6 additions & 0 deletions packages/styles/scss/components/search/_search.scss
Original file line number Diff line number Diff line change
Expand Up @@ -107,10 +107,16 @@
// 12px padding on either side of icon + 16px icon (40px)
padding: 0 $spacing-08;
}

.#{$prefix}--search--md .#{$prefix}--search-magnifier-icon {
left: rem(12px);
}

.#{$prefix}--search--md:not(.#{$prefix}--toolbar-search-container-active)
.#{$prefix}--search-magnifier-icon {
left: 0;
}

// Large styles
.#{$prefix}--search--lg .#{$prefix}--search-input,
.#{$prefix}--search--lg.#{$prefix}--search--expandable.#{$prefix}--search--expanded
Expand Down

0 comments on commit 118938a

Please sign in to comment.