0
0
mirror of https://github.com/naturalcrit/homebrewery.git synced 2025-12-24 22:52:40 +00:00

Making the user page a bit prettier

This commit is contained in:
Scott Tolksdorf
2016-12-03 14:54:11 -05:00
parent 9285e53e55
commit ce5596c489
3 changed files with 9 additions and 7 deletions

View File

@@ -2,15 +2,17 @@
.brewItem{
display : inline-block;
vertical-align : top;
width : 25%;
box-sizing : border-box;
width : 30%;
margin-bottom : 15px;
padding-right : 15px;
-webkit-column-break-inside : avoid;
page-break-inside : avoid;
break-inside : avoid;
p.description{
overflow : hidden;
width : 90%;
text-overflow : ellipsis;
//overflow : hidden;
//width : 90%;
//text-overflow : ellipsis;
white-space : nowrap;
}
a{

View File

@@ -10,11 +10,11 @@ const Account = require('../../navbar/account.navitem.jsx');
const BrewItem = require('./brewItem/brewItem.jsx');
const brew = {
title : 'test',
title : 'SUPER Long title woah now',
authors : []
}
//const BREWS = _.times(25, ()=>{ return brew});
const BREWS = _.times(25, ()=>{ return brew});
const UserPage = React.createClass({

View File

@@ -17,7 +17,7 @@
.phb{
.noColumns();
height : auto;
min-height : 350px;
min-height : 279.4mm;
margin : 20px auto;
&::after{
display : none;