Skip to content

Commit

Permalink
make-tier-comparison-header-sticky
Browse files Browse the repository at this point in the history
Signed-off-by: eyeaadil <[email protected]>
  • Loading branch information
eyeaadil committed Jan 3, 2025
1 parent b6ed840 commit 09c907a
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions src/sections/Pricing/comparison.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,9 @@ h2, h5{
box-shadow: 0 0 24px ${props => props.theme.whiteOneFiveToBlackOneFive};
margin: 2rem auto;
display: block;
overflow-x: scroll;
overflow-y:hidden;
overflow-x: auto;
overflow-y: auto;
max-height: 80vh;
transition: 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.price-table {
Expand Down Expand Up @@ -87,6 +88,9 @@ h2, h5{
.price-table tr.price-table-head {
background-color:${props => props.theme.secondaryColor};
color: #FFFFFF;
position: sticky;
top: 0;
z-index: 10;
}
.price-table td.price {
padding: 16px 24px;
Expand Down

0 comments on commit 09c907a

Please sign in to comment.