Align user profile claims

Especially helps when `<dd>` collapses due to an empty claim value.
pull/952/merge
Mark Janssen 9 years ago committed by Justin Richer
parent 4f9ea0b474
commit f27673a5f5

@ -180,4 +180,9 @@ h1,label {
line-height: 20px; line-height: 20px;
vertical-align: middle; vertical-align: middle;
margin: 0; margin: 0;
} }
/* User profile claims alignment */
.user-profile dd, .user-profile dt {
height: 20px;
}

@ -96,7 +96,7 @@
<div data-i18n="admin.user-profile.text">Your user profile has the following information:</div> <div data-i18n="admin.user-profile.text">Your user profile has the following information:</div>
<dl class="dl-horizontal"> <dl class="dl-horizontal user-profile">
<dt><span class="text-info" data-i18n="admin.user-profile.claim">Claim name:</span></dt> <dt><span class="text-info" data-i18n="admin.user-profile.claim">Claim name:</span></dt>
<dd><span class="text-info" data-i18n="admin.user-profile.value">Claim value:</span></dt> <dd><span class="text-info" data-i18n="admin.user-profile.value">Claim value:</span></dt>
</dl> </dl>
@ -109,4 +109,4 @@
<small class="muted"><%- category %>.</small><% } %><%- key %></dt> <small class="muted"><%- category %>.</small><% } %><%- key %></dt>
<dd><%- value %></dd> <dd><%- value %></dd>
</script> </script>

Loading…
Cancel
Save