Skip to content

Commit

Permalink
fix: fix the style problem of the table border in the production envi…
Browse files Browse the repository at this point in the history
…ronment
  • Loading branch information
anncwb committed Oct 8, 2020
1 parent 7653610 commit f2c7638
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "vben-admin-2.0",
"version": "2.0.0-beta.3",
"version": "2.0.0-beta.4",
"scripts": {
"bootstrap": "yarn install",
"serve": "ts-node --project ./build/tsconfig.json ./build/script/preserve && cross-env NODE_ENV=development vite",
Expand Down
12 changes: 6 additions & 6 deletions src/components/Table/src/style/index.less
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
@import (reference) '../../../../design/index.less';
@border-color: hsla(0, 0%, 80.8%, 0.25);
@border-color: #cecece4d;

.basic-table {
&-title {
Expand Down Expand Up @@ -93,7 +93,7 @@
.ant-table-bordered .ant-table-body > table,
.ant-table-bordered .ant-table-fixed-left table,
.ant-table-bordered .ant-table-fixed-right table {
border: 1px solid @border-color;
border: 1px solid @border-color !important;
}

.ant-table-thead {
Expand All @@ -103,7 +103,7 @@
}

.ant-table-bordered .ant-table-tbody > tr > td {
border-bottom: 1px solid @border-color;
border-bottom: 1px solid @border-color !important;

&:last-child {
border-right: none !important;
Expand All @@ -129,7 +129,7 @@

.ant-table-bordered .ant-table-thead > tr > th,
.ant-table-bordered .ant-table-tbody > tr > td {
border-right: 1px solid @border-color;
border-right: 1px solid @border-color !important;
}

.ant-table-thead > tr > th,
Expand All @@ -153,7 +153,7 @@
}

.ant-table-fixed-right .ant-table-header {
border-left: 1px solid @border-color;
border-left: 1px solid @border-color !important;

.ant-table-fixed {
border-bottom: none;
Expand Down Expand Up @@ -187,7 +187,7 @@
.ant-table-bordered .ant-table-thead > tr:not(:last-child) > th,
.ant-table-tbody > tr > td {
word-break: break-word;
border-color: @border-color;
border-color: @border-color !important;
}

.ant-table-footer {
Expand Down
2 changes: 1 addition & 1 deletion src/settings/siteSetting.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// github repo url
export const GITHUB_URL = '';
export const GITHUB_URL = 'https://github.com/anncwb/vue-vben-admin';
// vue-vben-admin-next-doc
export const DOC_URL = '';

0 comments on commit f2c7638

Please sign in to comment.