From 3ab15f3df684d2cf404991457e2ac3be3cd5034c Mon Sep 17 00:00:00 2001 From: Dzmitry Tamashevich Date: Fri, 25 Jun 2021 15:49:27 +0300 Subject: [PATCH] [Discover] clean up styles --- .../components/doc_viewer/doc_viewer.scss | 23 +++---------------- 1 file changed, 3 insertions(+), 20 deletions(-) diff --git a/src/plugins/discover/public/application/components/doc_viewer/doc_viewer.scss b/src/plugins/discover/public/application/components/doc_viewer/doc_viewer.scss index 73f0a2b3211296..12d56d564b8559 100644 --- a/src/plugins/discover/public/application/components/doc_viewer/doc_viewer.scss +++ b/src/plugins/discover/public/application/components/doc_viewer/doc_viewer.scss @@ -1,15 +1,4 @@ -@mixin docViewerCell { - align-items: flex-start; - padding: $euiSizeXS; - height: 100%; -} - .kbnDocViewer { - table, - tbody { - height: 100%; - } - .euiTableRowCell { vertical-align: top; } @@ -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 { @@ -56,8 +38,10 @@ } } +.kbnDocViewer__tableActionsCell, .kbnDocViewer__tableFieldNameCell { - @include docViewerCell; + align-items: flex-start; + padding: $euiSizeXS; } .kbnDocViewer__value { @@ -68,7 +52,6 @@ line-height: $euiLineHeight; color: $euiColorFullShade; vertical-align: top; - padding-top: $euiSizeXS; } .kbnDocViewer__warning {