Skip to content

Commit

Permalink
Merge pull request #25017 from code-dot-org/remove-project-cards
Browse files Browse the repository at this point in the history
Projects: remove icons from the bottom of the personal projects page
  • Loading branch information
Erin007 committed Sep 26, 2018
2 parents d0a6de7 + a78cd59 commit 60b8ad4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
5 changes: 4 additions & 1 deletion apps/src/templates/projects/PersonalProjectsTable.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,9 @@ export const styles = {
justifyContent: 'center',
alignItems: 'center',
},
bottomMargin: {
marginBottom: 20
}
};

// Cell formatters.
Expand Down Expand Up @@ -296,7 +299,7 @@ class PersonalProjectsTable extends React.Component {
const noProjects = this.props.personalProjectsList.length === 0;

return (
<div>
<div style={styles.bottomMargin}>
{!noProjects &&
<Table.Provider
columns={columns}
Expand Down
4 changes: 0 additions & 4 deletions dashboard/app/views/projects/index.html.haml
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,6 @@

#personal-projects-wrapper{'style' => ('display: none;' if is_public)}
#react-personal-projects
.project-course-blocks.center{style: 'width: 720px;'}
= render partial: 'shared/course_tall_block', locals: { id: 'applab' }
= render partial: 'shared/course_tall_block', locals: { id: 'playlab' }
= render partial: 'shared/course_tall_block', locals: { id: 'artist' }

#public-gallery-wrapper{'style' => ('display: none;' unless is_public)}
#public-gallery
Expand Down

0 comments on commit 60b8ad4

Please sign in to comment.