mirror of
https://github.com/naturalcrit/homebrewery.git
synced 2026-01-19 05:32:42 +00:00
Fixed a bug with saving while not logged in
This commit is contained in:
@@ -9,6 +9,13 @@ const RecentNavItem = require('../../navbar/recent.navitem.jsx');
|
||||
const Account = require('../../navbar/account.navitem.jsx');
|
||||
const BrewItem = require('./brewItem/brewItem.jsx');
|
||||
|
||||
const brew = {
|
||||
title : 'test',
|
||||
authors : []
|
||||
}
|
||||
|
||||
//const BREWS = _.times(25, ()=>{ return brew});
|
||||
|
||||
|
||||
const UserPage = React.createClass({
|
||||
getDefaultProps: function() {
|
||||
|
||||
@@ -1,9 +1,4 @@
|
||||
|
||||
html, body, #reactContainer, .homebrew, .page {
|
||||
height : auto;
|
||||
min-height : 100vh;
|
||||
}
|
||||
|
||||
.noColumns(){
|
||||
column-count : auto;
|
||||
column-fill : auto;
|
||||
@@ -16,21 +11,22 @@ html, body, #reactContainer, .homebrew, .page {
|
||||
-webkit-column-gap : auto;
|
||||
-moz-column-gap : auto;
|
||||
}
|
||||
|
||||
.userPage{
|
||||
.content .phb{
|
||||
min-height : 350px;
|
||||
margin : 20px auto;
|
||||
height : auto;
|
||||
.noColumns();
|
||||
&::after{
|
||||
display : none;
|
||||
}
|
||||
|
||||
.noBrews{
|
||||
margin: 10px 0px;
|
||||
font-style: italic;
|
||||
font-size: 1.3em;
|
||||
.content{
|
||||
overflow-y : scroll;
|
||||
.phb{
|
||||
.noColumns();
|
||||
height : auto;
|
||||
min-height : 350px;
|
||||
margin : 20px auto;
|
||||
&::after{
|
||||
display : none;
|
||||
}
|
||||
.noBrews{
|
||||
margin : 10px 0px;
|
||||
font-size : 1.3em;
|
||||
font-style : italic;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user