Skip to content

Commit

Permalink
[Discover] Display filter buttons at top right of the cell
Browse files Browse the repository at this point in the history
Signed-off-by: Miki <[email protected]>
  • Loading branch information
AMoo-Miki committed Jan 31, 2024
1 parent c22ea86 commit ec60a27
Showing 1 changed file with 11 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,11 @@
padding: 4px 0 0 !important;
}

.osdDocTableCell__filter { // TODO: make them appear at top right corner
.osdDocTableCell__filter {
position: absolute;
white-space: nowrap;
right: 0;
background: $ouiPageBackgroundColor;
}

/**
Expand All @@ -13,8 +17,10 @@

.osdDocTableCell {
white-space: pre-wrap;
position: relative;

&__filterButton {
&__filterButton,
&__filter {
opacity: 0;
transition: opacity $euiAnimSpeedFast;

Expand All @@ -24,7 +30,9 @@
}

&:hover &__filterButton,
&:focus &__filterButton {
&:focus &__filterButton,
&:hover &__filter,
&:focus &__filter {
opacity: 1;
}
}

0 comments on commit ec60a27

Please sign in to comment.