Changeset 8771
- Timestamp:
- 08/09/2014 03:47:17 PM (10 years ago)
- Location:
- trunk/src/bp-activity
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-activity/css/mentions-rtl.css
r8754 r8771 34 34 float: left; 35 35 height: 20px; 36 margin-right: 10px;37 36 width: 20px; 38 37 } … … 49 48 font-size: smaller; 50 49 font-weight: normal; 51 margin -right: 40px;50 margin: 0 40px 0 10px; 52 51 } 53 52 .atwho-view .cur { … … 58 57 .atwho-view img { 59 58 float: right; 60 margin-right: 0; 61 margin-left: 10px; 59 margin: 0 0 0 10px; 62 60 } 63 61 .atwho-view small { -
trunk/src/bp-activity/css/mentions.css
r8754 r8771 34 34 float: right; 35 35 height: 20px; 36 margin-left: 10px;37 36 width: 20px; 38 37 } … … 49 48 font-size: smaller; 50 49 font-weight: normal; 51 margin -left:40px;50 margin: 0 10px 0 40px; 52 51 } 53 52 .atwho-view .cur { … … 58 57 .atwho-view img { 59 58 float: left; 60 margin-left: 0; 61 margin-right: 10px; 59 margin: 0 10px 0 0; 62 60 } 63 61 .atwho-view small { -
trunk/src/bp-activity/js/mentions.js
r8754 r8771 78 78 before_reposition: function( offset ) { 79 79 var $view = $( '#atwho-ground-' + this.id + ' .atwho-view' ), 80 caret= this.$inputor.caret( 'offset', { iframe: $( '#content_ifr' )[0] } ).left,81 move;80 caret = this.$inputor.caret( 'offset', { iframe: $( '#content_ifr' )[0] } ).left, 81 move; 82 82 83 83 // If the caret is past horizontal half, then flip it, yo. 84 84 if ( caret > ( $( 'body' ).width() / 2 ) ) { 85 $view.addClass( ' flip' );85 $view.addClass( 'right' ); 86 86 move = caret - offset.left - this.view.$el.width(); 87 87 } else { 88 $view.removeClass( ' flip' );88 $view.removeClass( 'right' ); 89 89 move = caret - offset.left + 1; 90 90 }
Note: See TracChangeset
for help on using the changeset viewer.