Rounded user thumbnail in navbar
This commit is contained in:
@ -68,7 +68,7 @@ exports.getFoursquare = function(req, res) {
|
||||
*/
|
||||
exports.getTumblr = function(req, res) {
|
||||
var token = _.findWhere(req.user.tokens, { kind: 'tumblr' });
|
||||
|
||||
// TODO: MIDDLEWARE
|
||||
if (!token) {
|
||||
return res.render('api/unauthorized', {
|
||||
title: 'Tumblr API',
|
||||
|
@ -7,6 +7,9 @@ body {
|
||||
}
|
||||
|
||||
.user img {
|
||||
border-radius: 50%;
|
||||
border: 1px solid #777;
|
||||
padding: 1px;
|
||||
width: 40px;
|
||||
height: 40px;
|
||||
vertical-align: baseline;
|
||||
|
@ -86,6 +86,7 @@ a {
|
||||
color: #007aff;
|
||||
background-color: transparent;
|
||||
}
|
||||
|
||||
&:hover {
|
||||
color: #007aff;
|
||||
background: rgba(0, 0, 0, 0.05);
|
||||
|
Reference in New Issue
Block a user