Skip to content

Commit

Permalink
Fix long usernames making the link difficult to see.
Browse files Browse the repository at this point in the history
* Fix the width of the login box.
* Give slightly more space to the username by reducing the margin on the left side of the photo.
* set the min-height instead of the height of the header so that when usernames do take up multiple lines, the header accomodates.

BrowserID issue 985
mozilla/persona#985
  • Loading branch information
Shane Tomlinson committed Feb 7, 2012
1 parent 02f016b commit 679665c
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions static/style.less
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ header {
position: fixed;
top: 0;
left: 0;
height: 50px;
min-height: 50px;
width: 100%;
border-bottom: 2px solid rgb(15, 38, 61);
border-bottom: 2px solid rgba(15, 38, 61, 0.5);
Expand Down Expand Up @@ -59,11 +59,12 @@ header {

.picture {
float: left;
margin: 10px;
margin: 10px 10px 0 0;
}
.login {
float: left;
margin-top: 10px;
max-width: 208px;
img {
margin-top: 3px;
}
Expand Down

0 comments on commit 679665c

Please sign in to comment.