Skip to content

Commit 3a7edb0

Browse files
committed
Adding back padding on first and last columns of table element
1 parent e71dc2d commit 3a7edb0

File tree

2 files changed

+12
-0
lines changed

2 files changed

+12
-0
lines changed

public/css/app.css

Lines changed: 5 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

resources/assets/sass/app.scss

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,15 @@
11
// Element UI
22
@import "~element-ui/lib/theme-chalk/index.css";
33

4+
// Overwrite Label heights
45
.el-form-item__label {
56
line-height: normal;
67
}
8+
// Overwrite table row heights
79
.el-table td, .el-table th {
810
padding: 5px 0;
911
}
12+
// Make pagination more clear
1013
.el-pager, .el-pager li {
1114
font-weight: normal;
1215
}
@@ -15,3 +18,7 @@
1518
border: 1px solid #d8dce5;
1619
border-radius: 3px;
1720
}
21+
// Add back the padding on first/last column of table
22+
.el-table td:first-child .cell, .el-table th:first-child .cell {
23+
padding-left: 10px;
24+
}

0 commit comments

Comments
 (0)