From d2a7de0b679afed06243c6519a99f50486cd44cc Mon Sep 17 00:00:00 2001 From: PriJoh Date: Thu, 7 Nov 2024 13:59:12 +0100 Subject: [PATCH] pfe-143 Fixed hover bug tables --- src/less/components/payex/table.less | 24 ++++-------------------- 1 file changed, 4 insertions(+), 20 deletions(-) diff --git a/src/less/components/payex/table.less b/src/less/components/payex/table.less index 52b46b2bd0..7837ac3865 100644 --- a/src/less/components/payex/table.less +++ b/src/less/components/payex/table.less @@ -5,29 +5,14 @@ tr { &:nth-child(odd) { background-color: var(--bg-primary); - } - - &:hover { - background-color: var(--light-gray); - } + } } } } -.table.table-plain { - tbody { - tr { - background-color: var(--white); - - &:hover { - background-color: var(--light-gray); - } - - th, td { - background-color: transparent; - } - } - } +.table.table-hover tbody > tr:hover td, +.table.table-hover tbody > tr:hover th { + background-color: var(--light-gray); } @@ -38,4 +23,3 @@ -