Skip to content

Commit

Permalink
MDCMigration: Style data table row heights for MDC migration.
Browse files Browse the repository at this point in the history
  • Loading branch information
bmd3k committed Oct 3, 2023
1 parent 9757188 commit 8324f32
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,11 @@ limitations under the License.
==============================================================================*/
$_circle-size: 12px;

tb-data-table-content-cell,
tb-data-table-header-cell {
padding: 4px;
}

.row-circle {
height: $_circle-size;
width: $_circle-size;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,11 +48,13 @@ $_arrow_size: 16px;

tb-data-table-content-row,
tb-data-table-header-cell {
height: 44px;
// Match the size of the touch targets for the checkbox.
height: 48px;
}

tb-data-table-content-cell,
tb-data-table-header-cell {
padding: 0 4px;
vertical-align: middle;
@include tb-theme-foreground-prop(border-bottom, border, 1px solid);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ limitations under the License.

:host {
display: table-cell;
padding: 4px;
}

.cell {
align-items: center;
display: flex;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ $_icon_size: 12px;

:host {
display: table-cell;
padding: 4px;
vertical-align: bottom;

&:hover {
Expand Down

0 comments on commit 8324f32

Please sign in to comment.