Skip to content

Commit

Permalink
Fix long header title and Error messages overflow (#990)
Browse files Browse the repository at this point in the history
Fix long header title and Error messages overflow
  • Loading branch information
beneliflo authored and luisrudge committed Apr 28, 2017
1 parent 9ebc611 commit 650767d
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
10 changes: 9 additions & 1 deletion css/index.styl
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,7 @@ tabsHeight = 40px
vertical-align middle
display table-cell
margin auto
overflow-y auto

.auth0-lock-widget
width 300px
Expand All @@ -118,7 +119,6 @@ tabsHeight = 40px
margin 0 auto
border-radius 5px
max-height 100vh
overflow-y auto

+breakpoint("mobile")
-webkit-transition -webkit-transform .4s, opacity .3s
Expand Down Expand Up @@ -268,9 +268,17 @@ tabsHeight = 40px
.auth0-lock-firstname
font-size 18px
margin-top 64px
text-overflow ellipsis
white-space nowrap
overflow hidden
padding 0 10px

.auth0-lock-name
font-size 22px
text-overflow ellipsis
white-space nowrap
overflow hidden
padding 0 10px


// Lock body content
Expand Down
2 changes: 1 addition & 1 deletion src/ui/box/header.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ class WelcomeMessage extends React.Component {
message = title;
}

return <div className={className}>{message}</div>;
return <div className={className} title={message}>{message}</div>;
}
}

Expand Down

0 comments on commit 650767d

Please sign in to comment.