Skip to content
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

[Lens] Refactor Flyout Design Updates #14

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -5,19 +5,15 @@
// Use the EuiFlyout style
@include euiFlyout;
// But with custom positioning to keep it within the sidebar contents
position: absolute;
left: 0;
animation: euiFlyout $euiAnimSpeedNormal $euiAnimSlightResistance;
left: 0;
max-width: none !important;
z-index: $euiZContentMenu;

@include euiBreakpoint('l', 'xl') {
top: 0 !important;
height: 100% !important;
}

@include euiBreakpoint('xs', 's', 'm') {
@include euiFlyout;
left: 10vw;
z-index: $euiZContentMenu;
position: absolute;
top: 0 !important;
}

.lnsFrameLayout__sidebar-isFullscreen & {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -317,12 +317,7 @@ export function LayerPanel(

return (
<>
<section
tabIndex={-1}
ref={registerLayerRef}
className="lnsLayerPanel"
style={{ visibility: isDimensionPanelOpen ? 'hidden' : 'visible' }}
>
<section tabIndex={-1} ref={registerLayerRef} className="lnsLayerPanel">
<EuiPanel data-test-subj={`lns-layerPanel-${layerIndex}`} paddingSize="none">
<header className="lnsLayerPanel__layerHeader">
<EuiFlexGroup gutterSize="s" responsive={false} alignItems="center">
Expand Down