Skip to content

Commit 95b2a8b

Browse files
Sean PrashadSean Prashad
Sean Prashad
authored and
Sean Prashad
committed
Remove table border and extraneous container pieces
1 parent efda73c commit 95b2a8b

File tree

3 files changed

+12
-28
lines changed

3 files changed

+12
-28
lines changed

src/components/Table/index.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,7 @@ const Table = () => {
194194
return (
195195
<Container className="table">
196196
<ReactTooltip />
197-
<ReactTable align="center" striped hover {...getTableProps()}>
197+
<ReactTable align="center" borderless striped hover {...getTableProps()}>
198198
<thead>
199199
{headerGroups.map(headerGroup => (
200200
<tr {...headerGroup.getHeaderGroupProps()}>

src/components/Table/styles.scss

-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
11
.table {
2-
padding-top: 1rem;
3-
42
.row {
53
justify-content: center;
64
}

src/components/Tabs/index.js

+11-25
Original file line numberDiff line numberDiff line change
@@ -62,31 +62,17 @@ const Tabs = () => {
6262
</NavLink>
6363
</NavItem>
6464
</Nav>
65-
<Container>
66-
<TabContent activeTab={activeTab}>
67-
<TabPane tabId="1">
68-
<Row>
69-
<Col>
70-
<Table />
71-
</Col>
72-
</Row>
73-
</TabPane>
74-
<TabPane tabId="2">
75-
<Row>
76-
<Col>
77-
<Tips />
78-
</Col>
79-
</Row>
80-
</TabPane>
81-
<TabPane tabId="3">
82-
<Row>
83-
<Col>
84-
<Acknowledgements />
85-
</Col>
86-
</Row>
87-
</TabPane>
88-
</TabContent>
89-
</Container>
65+
<TabContent activeTab={activeTab}>
66+
<TabPane tabId="1">
67+
<Table />
68+
</TabPane>
69+
<TabPane tabId="2">
70+
<Tips />
71+
</TabPane>
72+
<TabPane tabId="3">
73+
<Acknowledgements />
74+
</TabPane>
75+
</TabContent>
9076
</Container>
9177
);
9278
};

0 commit comments

Comments
 (0)