Skip to content

Commit

Permalink
feat: update heartbeats
Browse files Browse the repository at this point in the history
  • Loading branch information
271212 committed Sep 11, 2024
1 parent e1f8b30 commit b79f1e2
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 18 deletions.
4 changes: 2 additions & 2 deletions src/modules/l2-rollup/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -1099,8 +1099,8 @@ const L2Rollup = () => {
fontSize={['16px', '18px', ' 20px']}
mt={isShowIntro ? '24px' : '0px'}
>
<Tab>Real-time Data</Tab>
<Tab>Analytics</Tab>
<Tab borderLeftRadius={'4px'}>Real-time Data</Tab>
<Tab borderRightRadius={'4px'}>Analytics</Tab>
<Flex position={'absolute'} right={0} top={'12px'}>
<Flex
alignSelf={'flex-end'}
Expand Down
27 changes: 11 additions & 16 deletions src/modules/l2-rollup/styles.module.scss
Original file line number Diff line number Diff line change
Expand Up @@ -229,36 +229,31 @@ table {
align-items: center;
justify-content: center;
align-self: center;
gap: 12px;
margin-bottom: 12px;
border-bottom: 1px solid #efefef;
border-bottom: 1px solid transparent;
width: fit-content;

> button {
background: none;
border: none;
color: #fff;
opacity: 50%;
font-weight: 400;
color: gray;
font-weight: 500;
background: #f4f4f4;
font-size: 14px;
line-height: 20px;
padding-top: 8px;
padding-bottom: 8px;

flex: unset;
position: relative;
text-align: center;
width: 160px;

&[aria-selected='true'] {
opacity: 1;
font-weight: 600;
color: #fa4e0e !important;

&::after {
content: '';
display: block;
height: 2px;
width: 100%;
background-color: #fa4e0e !important;
position: absolute;
bottom: 0;
}
color: #fff !important;
background: linear-gradient(95.67deg, #ffc076 7.06%, #ff0000 92.21%);
}
}
}
Expand Down

0 comments on commit b79f1e2

Please sign in to comment.