mirror of
https://github.com/acid-info/logos-ordinals-dashboard.git
synced 2025-02-28 12:40:42 +00:00
chore: adjust point value position
This commit is contained in:
parent
c54bee72c0
commit
49bd76e3a2
@ -8,7 +8,7 @@ export const Layout = styled.div`
|
||||
export const Container = styled.div`
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
overflow: hidden;
|
||||
/* overflow: hidden; */
|
||||
max-width: ${uiConfigs.maxContainerWidth}px;
|
||||
margin: 0 auto;
|
||||
padding: 8px 0 24px 0;
|
||||
|
@ -129,14 +129,14 @@ const Dropdown: React.FC = () => {
|
||||
</DropdownContent>
|
||||
)}
|
||||
</div>
|
||||
{walletAddress && (
|
||||
<PointsButton>
|
||||
<PointsValue>
|
||||
{`${numberWithCommas(userInfo?.total_xp) || 0}`} XP
|
||||
</PointsValue>
|
||||
</PointsButton>
|
||||
)}
|
||||
</DropdownHeader>
|
||||
{walletAddress && (
|
||||
<PointsButton>
|
||||
<PointsValue>
|
||||
{`${numberWithCommas(userInfo?.total_xp) || 0}`} XP
|
||||
</PointsValue>
|
||||
</PointsButton>
|
||||
)}
|
||||
</DropdownContainer>
|
||||
)
|
||||
}
|
||||
@ -227,12 +227,12 @@ const PointsButton = styled.button`
|
||||
width: fit-content;
|
||||
position: absolute;
|
||||
background-color: transparent;
|
||||
cursor: pointer;
|
||||
height: 28px;
|
||||
border: 1px solid rgb(var(--lsd-border-primary));
|
||||
padding: 8px 12px;
|
||||
top: 36px;
|
||||
right: 0;
|
||||
top: 0px;
|
||||
right: -60px;
|
||||
z-index: 100000;
|
||||
`
|
||||
|
||||
const PointsValue = styled.span`
|
||||
|
Loading…
x
Reference in New Issue
Block a user