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

View File

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