Create panel component
xpaczka opened this issue · comments
In this task we should create reusable panel component that we will use for realm UI
- panel component should be available in right and left versions
- it should be scrollable in a similar manner as current realm modal - it should have constant top margin and minimum bottom margin to ensure nice empty space even on smaller screens
- scrolling can be handled separately on the left and right versions
- we should be able to add subsections (stake/unstake)
- panel should expand with content
![image](https://private-user-images.githubusercontent.com/20949277/285236934-090adf4d-1662-417e-a5d5-f978ba9cea0a.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjIzODg4NDEsIm5iZiI6MTcyMjM4ODU0MSwicGF0aCI6Ii8yMDk0OTI3Ny8yODUyMzY5MzQtMDkwYWRmNGQtMTY2Mi00MTdlLWE1ZDUtZjk3OGJhOWNlYTBhLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA3MzElMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNzMxVDAxMTU0MVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTAwNTVhZjU5Y2U4NjU4ZjNjZTQxZDYwOTgzMjZmMTM5OGQzMzU4ZmE3NjIzYjEwNzY2ZWIzZDA5NTVjMzBkZWQmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.Im60chG6Y1c1raPSK-_k0i0fkgtG__IHIlHm1jeaYSg)
Resolved by #774