Skip to content

Commit

Permalink
Adding back padding on first and last columns of table element
Browse files Browse the repository at this point in the history
  • Loading branch information
nWidart committed Oct 29, 2017
1 parent e71dc2d commit 3a7edb0
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
5 changes: 5 additions & 0 deletions public/css/app.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 7 additions & 0 deletions resources/assets/sass/app.scss
Original file line number Diff line number Diff line change
@@ -1,12 +1,15 @@
// Element UI
@import "~element-ui/lib/theme-chalk/index.css";

// Overwrite Label heights
.el-form-item__label {
line-height: normal;
}
// Overwrite table row heights
.el-table td, .el-table th {
padding: 5px 0;
}
// Make pagination more clear
.el-pager, .el-pager li {
font-weight: normal;
}
Expand All @@ -15,3 +18,7 @@
border: 1px solid #d8dce5;
border-radius: 3px;
}
// Add back the padding on first/last column of table
.el-table td:first-child .cell, .el-table th:first-child .cell {
padding-left: 10px;
}

0 comments on commit 3a7edb0

Please sign in to comment.