r104763 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r104762‎ | r104763 | r104764 >
Date:22:30, 30 November 2011
Author:tparscal
Status:deferred
Tags:
Comment:
Fixed context menu positioning
Modified paths:
  • /trunk/extensions/VisualEditor/modules/es/styles/es.ContextView.css (modified) (history)
  • /trunk/extensions/VisualEditor/modules/es/views/es.ContextView.js (modified) (history)

Diff [purge]

Index: trunk/extensions/VisualEditor/modules/es/styles/es.ContextView.css
@@ -61,11 +61,11 @@
6262 }
6363
6464 .es-contextView-position-above .es-contextView-menu {
65 - bottom: 7px;
 65+ bottom: -4px;
6666 }
6767
6868 .es-contextView-position-below .es-contextView-menu {
69 - top: 8px;
 69+ top: 3px;
7070 }
7171
7272 .es-contextView-position-left .es-contextView-menu {
Index: trunk/extensions/VisualEditor/modules/es/views/es.ContextView.js
@@ -37,7 +37,7 @@
3838 es.ContextView.prototype.set = function() {
3939 this.$.removeClass(
4040 'es-contextView-position-below es-contextView-position-above ' +
41 - 'es-contextView-position-left es-contextView-position-right' +
 41+ 'es-contextView-position-left es-contextView-position-right ' +
4242 'es-contextView-position-start es-contextView-position-end'
4343 );
4444 var selection = this.surfaceView.getModel().getSelection(),

Status & tagging log