Skip to content

Commit

Permalink
Explore CSS
Browse files Browse the repository at this point in the history
  • Loading branch information
serranoarevalo committed Nov 19, 2017
1 parent 2c90557 commit 0c4fbb0
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 4 deletions.
4 changes: 2 additions & 2 deletions frontend/src/components/Explore/presenter.js
Expand Up @@ -13,13 +13,13 @@ const Explore = props => {
};

const LoadingExplore = props => (
<div className={styles.feed}>
<div className={styles.explore}>
<Loading />
</div>
);

const RenderExplore = props => (
<div className={styles.feed}>
<div className={styles.explore}>
{props.userList.map(user => (
<UserRow big={true} user={user} key={user.id} />
))}
Expand Down
7 changes: 5 additions & 2 deletions frontend/src/components/Explore/styles.scss
@@ -1,9 +1,12 @@
.explore {
min-height: 500px;
display: flex;
flex-direction: column;
width: 100%;
max-width: $max-page-width;
max-width: $max-card-width;
margin: 0 auto;
align-items: center;
@include boxBorder(yes);
@include breakpoint("phone") {
background-color: transparent;
}
}
6 changes: 6 additions & 0 deletions frontend/src/components/UserRow/styles.scss
Expand Up @@ -6,6 +6,12 @@
width: 100%;
box-sizing: border-box;
border-bottom: 1px solid $light-grey;
&:last-child {
border: 0;
}
@include breakpoint("phone-tablet") {
border-bottom: 0;
}
.column {
display: flex;
align-items: center;
Expand Down

0 comments on commit 0c4fbb0

Please sign in to comment.