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

Commit

Permalink
Show full URL for tooltip inside braveryPanel
Browse files Browse the repository at this point in the history
Auditors: @luixxiul, @diracdeltas
Close #9089
  • Loading branch information
cezaraugusto committed Jun 15, 2017
1 parent 6478bcd commit 7e62a68
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions app/renderer/components/main/braveryPanel.js
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,7 @@ class BraveryPanel extends ImmutableComponent {
styles.braveryPanel_compact__header__bottom
)}>
<div data-l10n-id='braveryPanelTitle' className={css(styles.braveryPanel_compact__header__bottom__title)} />
<div title={this.displayHost} className={css(styles.braveryPanel_compact__header__bottom__displayHost)}>{this.displayHost}</div>
<div title={this.props.lastCommittedURL} className={css(styles.braveryPanel_compact__header__bottom__displayHost)}>{this.displayHost}</div>
</div>
</section>
}
Expand All @@ -218,7 +218,7 @@ class BraveryPanel extends ImmutableComponent {
return <section className={css(styles.braveryPanel__header)}>
<div className={css(styles.braveryPanel__header__left)}>
<div data-l10n-id='braveryPanelTitle' />
<div title={this.displayHost} className={css(styles.braveryPanel__header__left__displayHost)}>{this.displayHost}</div>
<div title={this.props.lastCommittedURL} className={css(styles.braveryPanel__header__left__displayHost)}>{this.displayHost}</div>
</div>
<div className={css(styles.braveryPanel__header__right)}>
<SwitchControl large
Expand Down Expand Up @@ -731,7 +731,11 @@ const styles = StyleSheet.create({
borderTopRightRadius: globalStyles.radius.borderRadius
},
braveryPanel__header__left: {
minWidth: 0
minWidth: 0,
display: 'flex',
flexDirection: 'column',
justifyContent: 'space-between',
marginRight: '10px'
},
braveryPanel__header__right: {
marginLeft: 'auto'
Expand Down

1 comment on commit 7e62a68

@luixxiul
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

++ thanks

Please sign in to comment.