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

Show full URL for tooltip inside braveryPanel #9491

Merged
merged 1 commit into from
Jun 19, 2017
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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