Skip to content
This repository has been archived by the owner on Jan 25, 2022. It is now read-only.

Commit

Permalink
ユーザページ: デザイン崩れを修正
Browse files Browse the repository at this point in the history
  • Loading branch information
YOSHIDA Hiroki committed Nov 28, 2013
1 parent 720138b commit dfb7bed
Showing 1 changed file with 11 additions and 5 deletions.
16 changes: 11 additions & 5 deletions app/assets/stylesheets/users.css.scss
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
@import "bootstrap/mixins";
@import "bootstrap/buttons";
@import "compass/css3";
@import "compass/utilities";

@import "carousel";

Expand Down Expand Up @@ -49,22 +50,27 @@ $user_menu_height: 100px;
.avatar {
float: left;
margin-right: 20px;
width: 128px;
height: 128px;
}

.name {
margin-bottom: 5px;
height: 1em;
font-size: xx-large;
height: $profile_height / 3;
line-height: $profile_height / 3;
@include ellipsis;
}

.description {
height: 3em;
font-size: large;
height: $profile_height / 3;
overflow-y: hidden;
word-wrap: break-word;
}

.buttons {
height: $profile_height / 3;
line-height: $profile_height / 3;
margin-top: 10px;
height: 1em;
text-align: right;
}
}
Expand Down

0 comments on commit dfb7bed

Please sign in to comment.