mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 09:48:58 -04:00
make history drawer positioned absolute (#89630)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
This commit is contained in:
parent
2f05b513e7
commit
240a7c3f02
1 changed files with 4 additions and 3 deletions
|
@ -67,12 +67,13 @@ export const BottomDrawer: React.FC<{
|
|||
|
||||
const BottomActionContainer = euiStyled.div<{ isOpen: boolean }>`
|
||||
padding: ${(props) => props.theme.eui.paddingSizes.m} 0;
|
||||
position: fixed;
|
||||
position: absolute;
|
||||
height: ${(props) => (props.isOpen ? '244px' : '48px')};
|
||||
overflow: ${(props) => (props.isOpen ? 'visible' : 'hidden')};
|
||||
left: 0;
|
||||
bottom: 0;
|
||||
right: 0;
|
||||
transition: transform ${TRANSITION_MS}ms;
|
||||
transform: translateY(${(props) => (props.isOpen ? 0 : '224px')})
|
||||
transition: height ${TRANSITION_MS}ms;
|
||||
`;
|
||||
|
||||
const BottomActionTopBar = euiStyled(EuiFlexGroup).attrs({
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue