0
0
mirror of https://github.com/naturalcrit/homebrewery.git synced 2026-01-05 12:22:44 +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{ .brewItem{
display : inline-block; display : inline-block;
vertical-align : top; vertical-align : top;
width : 25%; box-sizing : border-box;
width : 30%;
margin-bottom : 15px; margin-bottom : 15px;
padding-right : 15px;
-webkit-column-break-inside : avoid; -webkit-column-break-inside : avoid;
page-break-inside : avoid; page-break-inside : avoid;
break-inside : avoid; break-inside : avoid;
p.description{ p.description{
overflow : hidden; //overflow : hidden;
width : 90%; //width : 90%;
text-overflow : ellipsis; //text-overflow : ellipsis;
white-space : nowrap; white-space : nowrap;
} }
a{ a{

View File

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

View File

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