Skip to content

Commit

Permalink
CORE-4966: scroable table (#1199) (#1200)
Browse files Browse the repository at this point in the history
  • Loading branch information
ekachxaidze98 authored Aug 16, 2024
1 parent e4701ef commit c70e11b
Showing 1 changed file with 27 additions and 4 deletions.
31 changes: 27 additions & 4 deletions design-v2/components/membership-table/styles.module.scss
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,32 @@ $card-header-color: #fef5ef;
}
}

.table {
&::-webkit-scrollbar {
height: 4px;
}

&::-webkit-scrollbar-track {
background: transparent;
border-radius: 20px;
}

&::-webkit-scrollbar-thumb {
background: #c1c1c1;
border-radius: 20px;
}

&::-webkit-scrollbar-thumb:hover {
background: #a8a8a8;
}
@media (max-width: 576px) {
overflow-x: auto;
overflow-y: hidden;
display: block;
white-space: nowrap;
}
}

.table-caption {
min-height: 1rem;
text-align: center;
Expand Down Expand Up @@ -97,9 +123,6 @@ $card-header-color: #fef5ef;
font-weight: 400;
text-align: center;
background-color: #fae2d2;
@media (max-width: $breakpoint-sm) {
padding: 2px;
}
&-active {
background-color: #fae2d2;
}
Expand Down Expand Up @@ -139,7 +162,7 @@ $card-header-color: #fef5ef;
font-size: 21px;
font-weight: 500;
@media (max-width: $breakpoint-sm) {
font-size: 10px;
font-size: 15px;
}
a {
color: var(--black);
Expand Down

0 comments on commit c70e11b

Please sign in to comment.