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:
@@ -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{
|
||||
|
||||
@@ -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({
|
||||
|
||||
@@ -17,7 +17,7 @@
|
||||
.phb{
|
||||
.noColumns();
|
||||
height : auto;
|
||||
min-height : 350px;
|
||||
min-height : 279.4mm;
|
||||
margin : 20px auto;
|
||||
&::after{
|
||||
display : none;
|
||||
|
||||
Reference in New Issue
Block a user