make sure the profile details table does not break with long translations

This commit is contained in:
Sven Fuchs 2012-11-22 16:42:54 +01:00
parent be1c52e69a
commit e27b4e56db
2 changed files with 33 additions and 30 deletions

View File

@ -1,24 +1,30 @@
<img {{bindAttr src="view.gravatarUrl"}}> <img {{bindAttr src="view.gravatarUrl"}}>
<dl class="profile"> <dl class="profile">
<div>
<dt> <dt>
{{t profiles.show.github}}: {{t profiles.show.github}}:
</dt> </dt>
<dd> <dd>
<a {{bindAttr href="urlGithub"}}>{{user.login}}</a> <a {{bindAttr href="urlGithub"}}>{{user.login}}</a>
</dd> </dd>
</div>
<div>
<dt> <dt>
{{t profiles.show.email}}: {{t profiles.show.email}}:
</dt> </dt>
<dd> <dd>
{{user.email}} {{user.email}}
</dd> </dd>
</div>
<div>
<dt> <dt>
{{t profiles.show.token}}: {{t profiles.show.token}}:
</dt> </dt>
<dd> <dd>
{{user.token}} {{user.token}}
</dd> </dd>
</div>
</dl> </dl>
<form> <form>

View File

@ -14,18 +14,15 @@
@include border-radius(4px) @include border-radius(4px)
background-color: $color-bg-light background-color: $color-bg-light
dl dl.profile
float: left display: table
margin: 0 0 20px 0 margin: 0 0 20px 0
div
display: table-row
dt dt
display: block display: table-cell
clear: left padding-right: 20px
float: left
width: 50px
dd dd
float: left
margin-left: 0 margin-left: 0
form form