Skip to content

Commit 7c03adc

Browse files
refactor(web): stake-popup-style
1 parent 325ab69 commit 7c03adc

File tree

1 file changed

+7
-3
lines changed
  • web/src/pages/Courts/CourtDetails/StakePanel/StakeWithdrawPopup

1 file changed

+7
-3
lines changed

web/src/pages/Courts/CourtDetails/StakePanel/StakeWithdrawPopup/index.tsx

+7-3
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ const Container = styled.div`
4040
transform: translate(-50%, -50%);
4141
max-height: 80vh;
4242
overflow-y: auto;
43+
position: relative;
4344
4445
z-index: 10;
4546
flex-direction: column;
@@ -73,16 +74,19 @@ const InnerContainer = styled.div`
7374
flex-direction: column;
7475
align-self: center;
7576
gap: 24px;
76-
padding: 0 24px 24px;
77+
padding: 16px 24px 24px;
7778
`;
7879

7980
const StyledButton = styled(LightButton)`
81+
position: absolute;
82+
top: 8px;
83+
right: 8px;
8084
border: none !important;
81-
padding: 8px !important;
85+
padding: 4px !important;
8286
border-radius: 7px !important;
8387
height: fit-content !important;
84-
align-self: end;
8588
.button-svg {
89+
margin: 0;
8690
path {
8791
fill: ${({ theme }) => theme.stroke};
8892
}

0 commit comments

Comments
 (0)