Skip to content
This repository was archived by the owner on May 16, 2019. It is now read-only.

Commit ae6622b

Browse files
committed
Make description titles look cleaner by adding top margin
1 parent a44e166 commit ae6622b

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

css/obBase.css

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1211,6 +1211,14 @@ h5 {
12111211
font-size: 15px;
12121212
}
12131213

1214+
.fieldItem-textarea h2, .fieldItem-textarea h3, .editableContent h2, .editableContent h3 {
1215+
margin-top: 30px;
1216+
}
1217+
1218+
.fieldItem-textarea h2:first-child, .fieldItem-textarea h3:first-child, .editableContent h2:first-child, .editableContent h3:first-child {
1219+
margin-top: 0px;
1220+
}
1221+
12141222
.note {
12151223
/* use for instructions and incidental text */
12161224
/*font-style: italic;*/

js/templates/userPage.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -257,7 +257,7 @@ <h1 class="page-userNameLarge floatLeft fancy-heading fontSize20 colorWhiteForce
257257
</a>
258258
<%}%>
259259
<% if(ob.page.profile.about) { %>
260-
<p class="js-userAbout margin0 flexContainer editableContent"><%= ob.page.profile.displayAbout %></p>
260+
<div class="js-userAbout margin0 flexContainer editableContent"><%= ob.page.profile.displayAbout %></div>
261261
<%}else{%>
262262
<span class="textOpacity75"><%= polyglot.t('AboutEmpty') %></span>
263263
<%}%>

0 commit comments

Comments
 (0)