mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 01:38:56 -04:00
[Lens] Formula Icon, Button, Height Design Update (#103682)
* apply `fullScreenEdit` icon; fix docs button size * fix small viewport height flex issue
This commit is contained in:
parent
682d969190
commit
b9bbfa3695
2 changed files with 10 additions and 9 deletions
|
@ -47,8 +47,16 @@
|
|||
}
|
||||
|
||||
.lnsFormula__editorContent {
|
||||
min-height: 0;
|
||||
position: relative;
|
||||
height: 201px;
|
||||
|
||||
.lnsIndexPatternDimensionEditor:not(.lnsIndexPatternDimensionEditor-isFullscreen) & {
|
||||
height: 200px;
|
||||
}
|
||||
|
||||
.lnsIndexPatternDimensionEditor-isFullscreen & {
|
||||
flex: 1;
|
||||
}
|
||||
}
|
||||
|
||||
.lnsFormula__editorPlaceholder {
|
||||
|
@ -62,11 +70,6 @@
|
|||
pointer-events: none;
|
||||
}
|
||||
|
||||
.lnsIndexPatternDimensionEditor-isFullscreen .lnsFormula__editorContent {
|
||||
flex: 1;
|
||||
min-height: 201px;
|
||||
}
|
||||
|
||||
.lnsFormula__warningText + .lnsFormula__warningText {
|
||||
margin-top: $euiSizeS;
|
||||
border-top: $euiBorderThin;
|
||||
|
|
|
@ -622,7 +622,6 @@ export function FormulaEditor({
|
|||
</EuiFlexItem>
|
||||
|
||||
<EuiFlexItem className="lnsFormula__editorHeaderGroup" grow={false}>
|
||||
{/* TODO: Replace `bolt` with `fullScreenExit` icon (after latest EUI is deployed). */}
|
||||
<EuiButtonEmpty
|
||||
onClick={() => {
|
||||
toggleFullscreen();
|
||||
|
@ -630,7 +629,7 @@ export function FormulaEditor({
|
|||
setIsHelpOpen(!isFullscreen);
|
||||
trackUiEvent('toggle_formula_fullscreen');
|
||||
}}
|
||||
iconType={isFullscreen ? 'bolt' : 'fullScreen'}
|
||||
iconType={isFullscreen ? 'fullScreenExit' : 'fullScreen'}
|
||||
size="xs"
|
||||
color="text"
|
||||
flush="right"
|
||||
|
@ -758,7 +757,6 @@ export function FormulaEditor({
|
|||
}}
|
||||
iconType="documentation"
|
||||
color="text"
|
||||
size="s"
|
||||
aria-label={i18n.translate(
|
||||
'xpack.lens.formula.editorHelpInlineShowToolTip',
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue