renderEmpty() {
return (
- <div className="empty-search">
- <h3>
- {!this.state.measures || !this.state.measures['projects']
- ? translate('portfolio.empty')
- : translate('portfolio.no_lines_of_code')}
- </h3>
+ <div className="page page-limited">
+ <div className="empty-search">
+ <h3>
+ {!this.state.measures || !this.state.measures['projects']
+ ? translate('portfolio.empty')
+ : translate('portfolio.no_lines_of_code')}
+ </h3>
+ </div>
</div>
);
}
renderWhenNotComputed() {
return (
- <div className="empty-search">
- <h3>{translate('portfolio.not_computed')}</h3>
+ <div className="page page-limited">
+ <div className="empty-search">
+ <h3>{translate('portfolio.not_computed')}</h3>
+ </div>
</div>
);
}
exports[`renders when portfolio is empty 1`] = `
<div
- className="empty-search"
+ className="page page-limited"
>
- <h3>
- portfolio.empty
- </h3>
+ <div
+ className="empty-search"
+ >
+ <h3>
+ portfolio.empty
+ </h3>
+ </div>
</div>
`;
exports[`renders when portfolio is not computed 1`] = `
<div
- className="empty-search"
+ className="page page-limited"
>
- <h3>
- portfolio.not_computed
- </h3>
+ <div
+ className="empty-search"
+ >
+ <h3>
+ portfolio.not_computed
+ </h3>
+ </div>
</div>
`;