From 815985e5ded7ee35f645ae4b1f683638a4363676 Mon Sep 17 00:00:00 2001 From: Gerard Date: Fri, 8 Feb 2019 15:09:47 +0100 Subject: [PATCH] #1024 th-editable --- front/core/components/index.js | 1 + front/core/components/table/style.scss | 6 +++--- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/front/core/components/index.js b/front/core/components/index.js index 6cfdb9396..d967bbb9a 100644 --- a/front/core/components/index.js +++ b/front/core/components/index.js @@ -34,6 +34,7 @@ import './paging/paging'; import './pagination/pagination'; import './searchbar/searchbar'; import './table'; +import './td-editable'; import './th'; import './input-range'; import './chip'; diff --git a/front/core/components/table/style.scss b/front/core/components/table/style.scss index e5da48f29..5385386c3 100644 --- a/front/core/components/table/style.scss +++ b/front/core/components/table/style.scss @@ -64,7 +64,7 @@ vn-table { vn-th { font-weight: bold } - vn-td, vn-th { + vn-td, vn-th, vn-td-editable { vertical-align: middle; display: table-cell; text-align: left; @@ -92,14 +92,14 @@ vn-table { &.clickable { @extend %clickable; } - &.success, & > vn-td.success { + &.success, & > vn-td.success, & > vn-td-editable.success { background-color: rgba(163, 209, 49, 0.3); &:hover { background-color: rgba(163, 209, 49, 0.5); } } - &.warning, & > vn-td.warning { + &.warning, & > vn-td.warning, & > vn-td-editable.warning { background-color: rgba(247, 147, 30, 0.3); &:hover {