From 377774b33a155a4f5c17396480c65ffe24a947d3 Mon Sep 17 00:00:00 2001 From: ekomarovskaya Date: Thu, 3 Oct 2019 13:07:53 +0300 Subject: [PATCH] DEXW-2152: fix --- .../directives/layout/less/dex-layout.less | 25 +------------------ .../less/dex-layout__column_orderbook.less | 8 ++++++ .../less/smart-table_watchlist.less | 6 +++++ src/modules/ui/directives/table/table.less | 2 -- 4 files changed, 15 insertions(+), 26 deletions(-) diff --git a/src/modules/dex/directives/layout/less/dex-layout.less b/src/modules/dex/directives/layout/less/dex-layout.less index 9c5c3aa03f..4cc9882f43 100644 --- a/src/modules/dex/directives/layout/less/dex-layout.less +++ b/src/modules/dex/directives/layout/less/dex-layout.less @@ -200,29 +200,6 @@ } } - .orderbook-table .row:hover, - .smart-table__cell[data-column-id="volume"]:hover { - .tooltip-dex.active { - display: flex; - } - } - - .orderbook-table, - .smart-table { - .row:last-child, - &__row:last-child { - .tooltip-dex { - bottom: 100%; - top: auto; - &::before { - top: auto; - bottom: -6px; - transform: rotate(180deg); - } - } - } - } - .order-permission-error, .create-order-notification { will-change: transform; @@ -269,7 +246,7 @@ &__column { min-width: 360px; } - + &__block { min-width: 360px; } diff --git a/src/modules/dex/directives/layout/less/dex-layout__column_orderbook.less b/src/modules/dex/directives/layout/less/dex-layout__column_orderbook.less index babfe70c75..a2bff3d55e 100644 --- a/src/modules/dex/directives/layout/less/dex-layout__column_orderbook.less +++ b/src/modules/dex/directives/layout/less/dex-layout__column_orderbook.less @@ -50,6 +50,14 @@ } } } + + .table__row { + &:hover { + .tooltip-dex.active { + display: flex; + } + } + } } &_orderbook-collapsed { diff --git a/src/modules/ui/directives/smartTable/less/smart-table_watchlist.less b/src/modules/ui/directives/smartTable/less/smart-table_watchlist.less index 5e0799047a..ec1d2692a2 100644 --- a/src/modules/ui/directives/smartTable/less/smart-table_watchlist.less +++ b/src/modules/ui/directives/smartTable/less/smart-table_watchlist.less @@ -70,6 +70,12 @@ flex-basis: 25%; text-align: right; padding-right: 10px; + + &:hover { + .tooltip-dex{ + display: flex; + } + } } &[data-column-id="info"] { diff --git a/src/modules/ui/directives/table/table.less b/src/modules/ui/directives/table/table.less index cdb3b0f4d5..9fe0d5879e 100644 --- a/src/modules/ui/directives/table/table.less +++ b/src/modules/ui/directives/table/table.less @@ -88,8 +88,6 @@ &__asks , &__bids { - overflow: hidden; - .table__row { &[data-price] { cursor: pointer;