Skip to content
This repository was archived by the owner on Sep 4, 2025. It is now read-only.

Commit 3ffb471

Browse files
Merge pull request #356 from unitaryfund/rounded_submission_boxes
Make SubmissionBox rounded
2 parents 60bea83 + c6ac45b commit 3ffb471

File tree

5 files changed

+27
-4
lines changed

5 files changed

+27
-4
lines changed

src/App.css

Lines changed: 21 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
.App {
22
text-align: center;
3+
background-color: #E5E5E5;
34
}
45

56
.App-logo {
@@ -40,6 +41,16 @@
4041
background-color: white;
4142
}
4243

44+
.navbar-nav {
45+
border-radius: 16px;
46+
border: none;
47+
}
48+
49+
.nav-tabs .nav-item.show .nav-link, .nav-tabs .nav-link.active {
50+
border-radius: 16px;
51+
border: none;
52+
}
53+
4354
.navbar-nav .metriq-navbar-text.nav-link {
4455
padding-top: 0.9rem;
4556
color:black;
@@ -52,6 +63,10 @@
5263
font-weight: bold;
5364
}
5465

66+
.infinite-scroll-component {
67+
overflow: visible !important;
68+
}
69+
5570
#metriq-main-content {
5671
min-height: 700px;
5772
padding-top: 20px;
@@ -106,9 +121,14 @@ form > .row > label {
106121
}
107122

108123
.submission {
109-
border: 1px solid black;
124+
border-radius: 16px;
110125
margin: 6px;
111126
padding: 8px;
127+
background-color: #FFFFFF;
128+
}
129+
130+
.submission:hover {
131+
box-shadow: 0 0 16px rgba(33,33,33,.2);
112132
}
113133

114134
.submission-heading {

src/App.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,9 @@ class App extends React.Component {
5353
twitter='unitaryfund'
5454
youtube='UCDbDLAzGRTHnhkoMMOX7D1A'
5555
linkedin='unitary-fund'
56-
backgroundColor='#f8f9fa'
56+
backgroundColor='#212529'
57+
fontColor='#FFFFFF'
58+
iconColor='#FFFFFF'
5759
columns={[]}
5860
/>
5961
</div>

src/components/simple-react-footer/SimpleReactFooter.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import logo from './../../images/unitary_fund_logo.png'
88
class SimpleReactFooter extends React.Component {
99
render () {
1010
return (
11-
<div style={{ backgroundColor: this.props.backgroundColor || 'bisque' }} className='footer-container'>
11+
<div style={{ backgroundColor: this.props.backgroundColor || 'bisque', color: this.props.fontColor }} className='footer-container'>
1212
<div className='first-row'>
1313
{this.props.columns.map((column, i) => (
1414
<div key={i} className='columns'>

src/components/simple-react-footer/SimpleReactFooter.sass

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ $letter-spacing: 1px
1616
flex-wrap: nowrap
1717

1818
.footer-container
19+
border-radius: 16px 16px 0 0
1920
margin-top: 20px
2021
height: fit-content
2122
width: 100%

src/views/Home.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ const Home = (props) => {
77
<header><h5>Top Submissions {props.match ? 'for "' + props.match.params.tag + '"' : ''}</h5></header>
88
<br />
99
<Tabs defaultActiveKey='trending' id='top-submissions-tabs'>
10-
<Tab eventKey='trending' title='Trending'>
10+
<Tab eventKey='trending' title='Trending' className='metriq-nav-tab'>
1111
<SubmissionScroll sortType='trending' isLoggedIn={props.isLoggedIn} tag={props.match ? props.match.params.tag : ''} />
1212
</Tab>
1313
<Tab eventKey='popular' title='Popular'>

0 commit comments

Comments
 (0)