Skip to content

Commit

Permalink
fix(table): Fixed table bugs with dropdown
Browse files Browse the repository at this point in the history
  • Loading branch information
fragsalat committed Sep 12, 2017
1 parent 6b05a13 commit daf9697
Showing 1 changed file with 10 additions and 4 deletions.
14 changes: 10 additions & 4 deletions molecules/_tables.scss
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ $table-row-line-height: $space-xxl !default;
@mixin table-filter() {
display: inline-block;
vertical-align: top;
text-transform: initial;
.dropdown-trigger,
.flatpickr-input {
color: inherit;
Expand Down Expand Up @@ -63,7 +64,7 @@ $table-row-line-height: $space-xxl !default;
color: $table-header-color;
tr {
th {
padding: 0 $space-xl 0 $space-m;
padding: 0 $space-m;
line-height: $space-xl;
white-space: nowrap;
position: relative;
Expand All @@ -74,17 +75,17 @@ $table-row-line-height: $space-xxl !default;
vertical-align: top;
margin: 0;
overflow: visible;
.text {
> .text {
display: inline-block;
vertical-align: top;
max-width: 90%;
overflow: hidden;
text-overflow: ellipsis;
}
.filter {
> .filter {
@include table-filter();
}
.sort {
> .sort {
@include table-sort();
}
}
Expand Down Expand Up @@ -120,6 +121,11 @@ $table-row-line-height: $space-xxl !default;
background-color: $table-row-active-background-color;
}
}
tr.empty-row td,
tr.loader-row td {
text-align: center;
background-color: $table-row-background-color;
}
tr.pagination-row td {
padding: $space-m;
background-color: $table-row-background-color;
Expand Down

0 comments on commit daf9697

Please sign in to comment.