Skip to content

Commit

Permalink
fix: inner scroll table
Browse files Browse the repository at this point in the history
  • Loading branch information
fengtianze committed May 11, 2022
1 parent e022c68 commit 2be2806
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 6 deletions.
9 changes: 3 additions & 6 deletions src/paginator/paginator.component.scss
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@ $input-width: 80px;
.#{$block} {
display: inline-flex;
align-items: center;
color: use-rgb(n-1);
white-space: nowrap;
@include text-set(m);

.aui-button {
width: use-var(line-height-xl);
Expand Down Expand Up @@ -71,15 +72,11 @@ $input-width: 80px;
}
}

&__total {
font-size: use-var(font-size-m);
}

&__navigator.aui-button {
background-color: use-rgb(n-8);

aui-icon {
font-size: use-var(font-size-l);
font-size: use-var(icon-size-m);
}

&:hover {
Expand Down
8 changes: 8 additions & 0 deletions src/table/table-scroll.scss
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,17 @@ $stickyCssClass: 'aui-table-sticky';

// style for column shadow
.aui-table__scroll-wrapper {
display: flex;
flex-direction: column;
max-height: 100%;
overflow: hidden;
background-color: use-rgb(n-9);
padding: 0 $table-padding $table-padding;
border-radius: use-var(border-radius-l);
@include scroll-bar;

.aui-table {
max-height: 100%;
padding: 0;
border-radius: 0;
}
Expand Down Expand Up @@ -96,6 +101,9 @@ $stickyCssClass: 'aui-table-sticky';
align-items: stretch;

.aui-table__cell {
display: flex;
flex-direction: column;
justify-content: center;
border-width: 1px 0;
border-style: solid;
border-color: use-rgb(n-8);
Expand Down

0 comments on commit 2be2806

Please sign in to comment.