Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
N
najiu-admin-template
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
najiu-frontend
najiu-admin-template
Commits
f2c7638b
Commit
f2c7638b
authored
Oct 08, 2020
by
陈文彬
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: fix the style problem of the table border in the production environment
parent
7653610c
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
8 deletions
+8
-8
package.json
package.json
+1
-1
index.less
src/components/Table/src/style/index.less
+6
-6
siteSetting.ts
src/settings/siteSetting.ts
+1
-1
No files found.
package.json
View file @
f2c7638b
{
"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"
,
...
...
src/components/Table/src/style/index.less
View file @
f2c7638b
@import (reference) '../../../../design/index.less';
@border-color:
hsla(0, 0%, 80.8%, 0.25)
;
@border-color:
#cecece4d
;
.basic-table {
&-title {
...
...
@@ -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 {
...
...
@@ -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;
...
...
@@ -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,
...
...
@@ -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;
...
...
@@ -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 {
...
...
src/settings/siteSetting.ts
View file @
f2c7638b
// 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
=
''
;
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment