From 0d442687ff2290890d19cb158ec98efbc6306d52 Mon Sep 17 00:00:00 2001 From: Troy Morehouse Date: Sun, 16 Dec 2018 02:23:34 -0400 Subject: [PATCH 1/2] add borderless prop to table --- src/components/table/table.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/components/table/table.js b/src/components/table/table.js index 54fbb5db6a6..c6a2fc30166 100644 --- a/src/components/table/table.js +++ b/src/components/table/table.js @@ -177,6 +177,10 @@ export default { type: Boolean, default: false }, + borderless: { + type: Boolean, + default: false + }, outlined: { type: Boolean, default: false @@ -378,6 +382,7 @@ export default { 'table-hover': this.hover, 'table-dark': this.dark, 'table-bordered': this.bordered, + 'table-borderless': this.borderless, 'table-sm': this.small, 'border': this.outlined, // The following are b-table custom styles From 8c8b15be802d6ee1cff8c2abd3eeae92a777e7c7 Mon Sep 17 00:00:00 2001 From: Troy Morehouse Date: Sun, 16 Dec 2018 02:29:56 -0400 Subject: [PATCH 2/2] Update README.md --- src/components/table/README.md | 23 ++++++++++++++--------- 1 file changed, 14 insertions(+), 9 deletions(-) diff --git a/src/components/table/README.md b/src/components/table/README.md index 5033755039c..2c0a30dd652 100755 --- a/src/components/table/README.md +++ b/src/components/table/README.md @@ -319,6 +319,7 @@ fields: [ | ---- | ---- | ----------- | `striped` | Boolean | Add zebra-striping to the table rows within the `` | `bordered` | Boolean | For borders on all sides of the table and cells. +| `borderless` | Boolean | removes inner borders from table. | `outlined` | Boolean | For a thin border on all sides of the table. Has no effect if `bordered` is set. | `small` | Boolean | To make tables more compact by cutting cell padding in half. | `hover` | Boolean | To enable a hover highlighting state on table rows within a `` @@ -334,17 +335,20 @@ fields: [ ```html