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">
<dt> <div>
{{t profiles.show.github}}: <dt>
</dt> {{t profiles.show.github}}:
<dd> </dt>
<a {{bindAttr href="urlGithub"}}>{{user.login}}</a> <dd>
</dd> <a {{bindAttr href="urlGithub"}}>{{user.login}}</a>
<dt> </dd>
{{t profiles.show.email}}: </div>
</dt> <div>
<dd> <dt>
{{user.email}} {{t profiles.show.email}}:
</dd> </dt>
<dt> <dd>
{{t profiles.show.token}}: {{user.email}}
</dt> </dd>
<dd> </div>
{{user.token}} <div>
</dd> <dt>
{{t profiles.show.token}}:
</dt>
<dd>
{{user.token}}
</dd>
</div>
</dl> </dl>
<form> <form>

View File

@ -14,19 +14,16 @@
@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
dt display: table-row
display: block dt
clear: left display: table-cell
float: left padding-right: 20px
width: 50px dd
margin-left: 0
dd
float: left
margin-left: 0
form form
clear: left clear: left