Adding tooltip to email in user popover

Этот коммит содержится в:
Asaad Mahmood
2015-08-05 22:29:44 +05:00
родитель 140faa6bb6
Коммит 331ab2acfc
2 изменённых файлов: 7 добавлений и 0 удалений

Просмотреть файл

@@ -28,6 +28,7 @@ module.exports = React.createClass({
componentDidMount: function() {
UserStore.addChangeListener(this._onChange);
$("#profile_" + this.uniqueId).popover({placement : 'right', container: 'body', trigger: 'hover', html: true, delay: { "show": 200, "hide": 100 }});
$('body').tooltip( {selector: '[data-toggle=tooltip]', trigger: 'hover click'} );
},
componentWillUnmount: function() {
UserStore.removeChangeListener(this._onChange);

Просмотреть файл

@@ -49,6 +49,12 @@ div.theme {
background-color: $primary-color;
}
.tooltip {
.tooltip-inner {
word-break: break-word;
}
}
.nopadding {
padding: 0;
margin: 0;