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

Commit 161c22a

Browse files
committed
Removes padding at the new challenge listings page
1 parent b58fc4f commit 161c22a

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

app/listings/listings.jade

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
react-component(name="ChallengeFiltersExample" props="reactProps" watch-depth="reference")
1+
react-component.listings(name="ChallengeFiltersExample" props="reactProps" watch-depth="reference")
22

33
script.
44
(function() {

app/listings/listings.routes.js

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@ import angular from 'angular'
2121
'listings': {
2222
parent: 'root',
2323
url: '/listings/',
24-
template: require('./listings')(),
2524
controller: 'ListingsCtrl as vm',
2625
resolve: {
2726
userHandle: ['$stateParams', function($stateParams) {
@@ -31,6 +30,11 @@ import angular from 'angular'
3130
data: {
3231
authRequired: false,
3332
title: 'Listings'
33+
},
34+
views: {
35+
'container@': {
36+
template: require('./listings')()
37+
}
3438
}
3539
}
3640
}

0 commit comments

Comments
 (0)