Skip to content

Commit 3dd99f5

Browse files
author
Maxwell Lang
committed
Minor style adjustments
1 parent 7234ee5 commit 3dd99f5

File tree

4 files changed

+18
-18
lines changed

4 files changed

+18
-18
lines changed

components/Portfolio/Certification/index.js

Lines changed: 13 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -29,20 +29,24 @@ export default class Certification extends Component {
2929
: null}
3030

3131
{this.props.tests ?
32-
<ul type="dash">
32+
<ul>
3333
{this.props.tests.map((test, i) => <li key={i}>{test}</li>)}
3434
</ul>
3535
: null}
3636

3737

38-
<Button
39-
target="_blank"
40-
rel="noreferrer"
41-
className={styles.verifyButton}
42-
disabled={!('link' in this.props)}
43-
href={this.props.link ? this.props.link : '#'}>
44-
{this.props.link ? 'Verify' : 'Coming Soon'}
45-
</Button>
38+
{this.props.noLink ?
39+
null
40+
:
41+
<Button
42+
target="_blank"
43+
rel="noreferrer"
44+
className={styles.verifyButton}
45+
disabled={!('link' in this.props)}
46+
href={this.props.link ? this.props.link : '#'}>
47+
{this.props.link ? 'Verify' : 'Coming Soon'}
48+
</Button>
49+
}
4650
</Card.Body>
4751
</Card>
4852
</Col>

components/Portfolio/Section/Section.module.scss

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,10 @@
11
@import 'rfs/scss.scss';
2-
// @import 'bootstrap/scss/mixins/_grid-framework.scss';
32

43
.container {
54
display: flex;
65
flex-direction: column;
76
min-height: 100vh;
8-
padding: 2rem 1rem;
97

10-
// @include media-breakpoint-up(md) {
11-
// padding: 2rem 3rem;
12-
// }
13-
148
&:nth-child(2n) {
159
background-color: rgba(0, 0, 0, .05);
1610
}
@@ -19,6 +13,8 @@
1913
.header {
2014
align-self: flex-start;
2115
justify-self: center;
16+
margin-top: .25rem;
17+
margin-left: .25rem;
2218

2319
// &:after {
2420
// content: '\00a0';
@@ -42,7 +38,7 @@
4238

4339
.innerContent {
4440
flex-grow: 1;
45-
padding: 0 0.5rem;
41+
padding: 0 .5rem;
4642
}
4743

4844
.chevron {

components/Portfolio/Section/SectionSubHeader.module.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,6 @@
33
.subheader {
44
@include font-size(2rem);
55
margin-top: 2rem;
6-
margin-left: -0.5rem; // Accounts for container's .5rem padding.
6+
// margin-left: -0.5rem; // Accounts for container's .5rem padding.
77
font-weight: 400;
88
}

components/Portfolio/Section/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ export default class Section extends Component {
1515

1616
render() {
1717
return (
18-
<div className={styles.container}>
18+
<div className={[styles.container, 'px-2 py-3 px-md-5 py-md-2'].join(' ')}>
1919
{/* Optional header & subheader */}
2020
{this.props.title || this.props.subtitle ?
2121
<div className={styles.header}>

0 commit comments

Comments
 (0)