Skip to content
This repository has been archived by the owner on Dec 11, 2019. It is now read-only.

Commit

Permalink
enforce max limit to ev cert display
Browse files Browse the repository at this point in the history
follow-up of #11776
fix #12780
  • Loading branch information
cezaraugusto committed Jan 22, 2018
1 parent a3e3911 commit b98c2fa
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion app/renderer/components/navigation/urlBar.js
Original file line number Diff line number Diff line change
Expand Up @@ -480,7 +480,7 @@ class UrlBar extends React.Component {
if (this.props.titleMode) {
return null
}
return <span className='evCert'> {this.props.evCert} </span>
return <span className='evCert' title={this.props.evCert}> {this.props.evCert} </span>
}

render () {
Expand Down
4 changes: 4 additions & 0 deletions less/navigationBar.less
Original file line number Diff line number Diff line change
Expand Up @@ -826,6 +826,7 @@
height: @urlbarFormHeight;
min-height: @urlbarFormHeight;
margin: 0 5px;
max-width: 40%;

.urlbarIcon {
color: @siteSecureColor;
Expand Down Expand Up @@ -865,6 +866,9 @@
color: forestgreen;
padding: 5px;
border-right: 1px solid #ccc;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
}
}
Expand Down

0 comments on commit b98c2fa

Please sign in to comment.