-
Notifications
You must be signed in to change notification settings - Fork 84
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: status sheet buttons and height adjustment #303
fix: status sheet buttons and height adjustment #303
Conversation
createElementId(ElementId.ScrollableContainer, elementId), | ||
); | ||
|
||
export const getHeaderElement = (elementId: string) => |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Centralised these functions for a consistent way to access the elements
return () => { | ||
scrollableContainer.style.removeProperty('height'); | ||
relativeContainer.style.removeProperty('min-height'); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This just needed to be switched to the relativeContainer rather than the scrollableContainer and now also has to override the height using min-height.
Hey! This is your new endopint: https://7082d4bb.widget-lf10126sta.pages.dev |
const Placeholder = () => { | ||
return ( | ||
<Box sx={{ width: '100%', height: 400, backgroundColor: 'red' }}>hello</Box> | ||
); | ||
}; | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we remove this testing component?
feeConfig={{ | ||
name: 'Flexible fee', | ||
fee: 0, | ||
_vcComponent: Placeholder, | ||
}} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This as well
Hey! This is your new endopint: https://2823b02d.widget-lf10126sta.pages.dev |
Jira: LF-10126
Changes the layout of the buttons at the bottom of the StatusBottomSheet to horizontal.
Also adds a fix to the useSetContentHeight hook