Skip to content

Commit f27673a

Browse files
praseodymjricher
authored andcommitted
Align user profile claims
Especially helps when `<dd>` collapses due to an empty claim value.
1 parent 4f9ea0b commit f27673a

File tree

2 files changed

+8
-3
lines changed

2 files changed

+8
-3
lines changed

openid-connect-server-webapp/src/main/webapp/resources/css/mitreid-connect.css

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -180,4 +180,9 @@ h1,label {
180180
line-height: 20px;
181181
vertical-align: middle;
182182
margin: 0;
183-
}
183+
}
184+
185+
/* User profile claims alignment */
186+
.user-profile dd, .user-profile dt {
187+
height: 20px;
188+
}

openid-connect-server-webapp/src/main/webapp/resources/template/admin.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@
9696

9797
<div data-i18n="admin.user-profile.text">Your user profile has the following information:</div>
9898

99-
<dl class="dl-horizontal">
99+
<dl class="dl-horizontal user-profile">
100100
<dt><span class="text-info" data-i18n="admin.user-profile.claim">Claim name:</span></dt>
101101
<dd><span class="text-info" data-i18n="admin.user-profile.value">Claim value:</span></dt>
102102
</dl>
@@ -109,4 +109,4 @@
109109
<small class="muted"><%- category %>.</small><% } %><%- key %></dt>
110110
<dd><%- value %></dd>
111111

112-
</script>
112+
</script>

0 commit comments

Comments
 (0)