Commit 989a8a06 by Mark Sadecki

new css to go with DOM changes

parent 8a8e1d06
...@@ -21,15 +21,17 @@ ...@@ -21,15 +21,17 @@
background: $dashboard-profile-color; background: $dashboard-profile-color;
.user-name { .user-name {
display: block;
overflow: hidden; overflow: hidden;
margin: 0; margin: 0;
padding: ($baseline*0.75) ($baseline/2); padding: ($baseline*0.75) ($baseline/2) 0;
color: $base-font-color; color: $base-font-color;
text-transform: none; text-transform: none;
text-wrap: nowrap; text-wrap: nowrap;
text-overflow: ellipsis; text-overflow: ellipsis;
text-align: center; text-align: center;
font: 700 1.2em/1.2em $sans-serif; font-weight: 700;
line-height: 1.2em;
} }
} }
......
...@@ -77,7 +77,7 @@ ...@@ -77,7 +77,7 @@
<section class="profile-sidebar"> <section class="profile-sidebar">
<header class="profile"> <header class="profile">
<h2 class="user-name"><span class="sr">${_("Username")}: </span>${ user.username }</h2> <h2><span class="sr">${_("Username")}: </span><span class="user-name">${ user.username }</span></h2>
</header> </header>
<section class="user-info"> <section class="user-info">
<ul> <ul>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment