From 18c475987ae9e06ca2736344954dc029c6b4cf8a Mon Sep 17 00:00:00 2001 From: "Jingwei.Zhang" Date: Thu, 2 Dec 2021 10:36:39 +0800 Subject: [PATCH] fix: Fix selection style in header table Fix selection style in header table Change-Id: Id2c17ff4dcb0c0c15409268d12e891424de640e5 --- src/layouts/Blank/index.less | 3 --- src/styles/base.less | 19 +++++++++++-------- 2 files changed, 11 insertions(+), 11 deletions(-) diff --git a/src/layouts/Blank/index.less b/src/layouts/Blank/index.less index ad70925c..1431d2f6 100644 --- a/src/layouts/Blank/index.less +++ b/src/layouts/Blank/index.less @@ -40,8 +40,5 @@ .ant-table-thead > tr > th { padding: 0 16px; } - .ant-table-thead > tr > th.ant-table-selection-column:first-child { - padding-left: 8px; - } } } diff --git a/src/styles/base.less b/src/styles/base.less index 22740cdb..b9b6e77b 100644 --- a/src/styles/base.less +++ b/src/styles/base.less @@ -185,19 +185,22 @@ .ant-table-footer { padding: 8px 16px; } + .ant-table-thead > tr > th.ant-table-selection-column:first-child { + padding-left: 8px; + } } - .tip{ + .tip { color: @color-text-body; } - .linkClass{ - color:@blue-1; + .linkClass { + color: @blue-1; cursor: pointer; - -moz-user-select:none; /*Firefox*/ - -webkit-user-select:none; /*Webkit*/ - -ms-user-select:none; /*IE10*/ - -khtml-user-select:none; /*Early browsers*/ - user-select:none; + -moz-user-select: none; /*Firefox*/ + -webkit-user-select: none; /*Webkit*/ + -ms-user-select: none; /*IE10*/ + -khtml-user-select: none; /*Early browsers*/ + user-select: none; } }