Skip to content

Loading…

User image size fix #206

Closed
wants to merge 4 commits into from

2 participants

Commits on Jan 22, 2013
  1. @samanpwbb
  2. @samanpwbb
Commits on Jan 25, 2013
  1. @samanpwbb
Commits on Jan 26, 2013
  1. @samanpwbb

    allow non-square user images.

    samanpwbb committed
This page is out of date. Refresh to see the latest.
Showing with 4 additions and 4 deletions.
  1. +4 −4 app/assets/stylesheets/common.css.scss
View
8 app/assets/stylesheets/common.css.scss
@@ -1422,8 +1422,8 @@ textarea {
/* Rules for user images */
img.user_image {
- width: 100px;
- height: 100px;
+ max-width: 100px;
+ max-height: 100px;
border: 1px solid #ccc;
margin-bottom: 20px;
float: left;
@@ -1431,8 +1431,8 @@ img.user_image {
}
img.user_thumbnail {
- width: 50px;
- height: 50px;
+ max-width: 50px;
+ max-height: 50px;
border: 1px solid #ccc;
margin-right: 20px;
}
Something went wrong with that request. Please try again.