From 77a6f1e9021dd82b92badd3c080b41547de3a08e Mon Sep 17 00:00:00 2001 From: davidcanonieto Date: Mon, 1 Oct 2018 19:36:12 +0100 Subject: [PATCH] [ADF-3614] Fix styling bug in Custom Sources Page (#3845) --- demo-shell/src/app/components/files/files.component.scss | 2 +- .../components/datatable/datatable.component.scss | 8 +++++++- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/demo-shell/src/app/components/files/files.component.scss b/demo-shell/src/app/components/files/files.component.scss index 17419eab15..4a50a0c959 100644 --- a/demo-shell/src/app/components/files/files.component.scss +++ b/demo-shell/src/app/components/files/files.component.scss @@ -40,7 +40,7 @@ fill: #00bcd4 !important; } - .adf-lock-button { + .adf-data-table-card .adf-lock-button { top: -10px; } diff --git a/lib/core/datatable/components/datatable/datatable.component.scss b/lib/core/datatable/components/datatable/datatable.component.scss index 4f1729f37f..6b4279bf51 100644 --- a/lib/core/datatable/components/datatable/datatable.component.scss +++ b/lib/core/datatable/components/datatable/datatable.component.scss @@ -411,7 +411,6 @@ .cell-value { display: block; position: absolute; - top: 25px; max-width: calc(100% - 2em); white-space: nowrap; overflow: hidden; @@ -419,6 +418,13 @@ line-height: 1.12em; } + /* query for Microsoft IE 11*/ + @media screen and (-ms-high-contrast: active), screen and (-ms-high-contrast: none) { + .cell-value { + top: 100%; + } + } + /* cell stretching content */ & > div:after { content: attr(title);