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

Commit

Permalink
Merge pull request #12781 from brave/ev_cert_max_limit
Browse files Browse the repository at this point in the history
enforce max limit to ev cert display
  • Loading branch information
cezaraugusto authored Jan 22, 2018
2 parents a3e3911 + b98c2fa commit 5915913
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 5915913

Please sign in to comment.