Skip to content

Commit

Permalink
[Discover] clean up styles
Browse files Browse the repository at this point in the history
  • Loading branch information
dimaanj committed Jun 25, 2021
1 parent d5c65f5 commit 3ab15f3
Showing 1 changed file with 3 additions and 20 deletions.
Original file line number Diff line number Diff line change
@@ -1,15 +1,4 @@
@mixin docViewerCell {
align-items: flex-start;
padding: $euiSizeXS;
height: 100%;
}

.kbnDocViewer {
table,
tbody {
height: 100%;
}

.euiTableRowCell {
vertical-align: top;
}
Expand All @@ -20,17 +9,10 @@
}

.kbnDocViewer__tableRow {
height: 100%;
font-size: $euiFontSizeXS;
font-family: $euiCodeFontFamily;
}

.kbnDocViewer__tableActionsCell {
@include docViewerCell;

.kbnDocViewer__buttons {
white-space: nowrap;

// Show all icons if one is focused,
&:focus-within {
.kbnDocViewer__actionButton {
Expand All @@ -56,8 +38,10 @@
}
}

.kbnDocViewer__tableActionsCell,
.kbnDocViewer__tableFieldNameCell {
@include docViewerCell;
align-items: flex-start;
padding: $euiSizeXS;
}

.kbnDocViewer__value {
Expand All @@ -68,7 +52,6 @@
line-height: $euiLineHeight;
color: $euiColorFullShade;
vertical-align: top;
padding-top: $euiSizeXS;
}

.kbnDocViewer__warning {
Expand Down

0 comments on commit 3ab15f3

Please sign in to comment.