mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 01:38:56 -04:00
[SecuritySolution] Styling for embeddable (#162134)
## Summary Metrics and histograms on Hosts, network, users, rules and alerts page are cropped. Before: <img width="784" alt="Screenshot 2023-07-18 at 12 40 52" src="56ade48c
-03dd-4095-a3e6-c87b2de895ad"> After: <img width="766" alt="Screenshot 2023-07-18 at 12 38 48" src="e0c37138
-e043-4075-8842-b7ace669d163">
This commit is contained in:
parent
209d35365f
commit
26624004d6
1 changed files with 7 additions and 3 deletions
|
@ -39,9 +39,13 @@ const LensComponentWrapper = styled.div<{
|
|||
width: ${({ width }) => width ?? 'auto'};
|
||||
|
||||
${({ $addHoverActionsPadding }) =>
|
||||
$addHoverActionsPadding
|
||||
? `.embPanel__header--floater { top: ${HOVER_ACTIONS_PADDING * -1}px; }`
|
||||
: ''}
|
||||
$addHoverActionsPadding ? `.embPanel__header { top: ${HOVER_ACTIONS_PADDING * -1}px; }` : ''}
|
||||
|
||||
.embPanel__header {
|
||||
z-index: 2;
|
||||
position: absolute;
|
||||
right: 0;
|
||||
}
|
||||
|
||||
.expExpressionRenderer__expression {
|
||||
padding: 2px 0 0 0 !important;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue