[Discover] Show doc viewer action buttons on focus (#64912)
This commit is contained in:
parent
ffe5166023
commit
8128b91193
|
@ -43,6 +43,14 @@
|
|||
}
|
||||
.kbnDocViewer__buttons {
|
||||
width: 60px;
|
||||
|
||||
// Show all icons if one is focused,
|
||||
// IE doesn't support, but the fallback is just the focused button becomes visible
|
||||
&:focus-within {
|
||||
.kbnDocViewer__actionButton {
|
||||
opacity: 1;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.kbnDocViewer__field {
|
||||
|
@ -51,7 +59,12 @@
|
|||
|
||||
.kbnDocViewer__actionButton {
|
||||
opacity: 0;
|
||||
|
||||
&:focus {
|
||||
opacity: 1;
|
||||
}
|
||||
}
|
||||
|
||||
.kbnDocViewer__warning {
|
||||
margin-right: $euiSizeS;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue