From 659bb8e6d0fd322c178e57cc196705d2bb25b8b9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Inez=20Korczyn=CC=81ski?= Date: Fri, 21 Jun 2013 12:19:38 -0700 Subject: [PATCH 1/2] Fix for rendering block images Change-Id: I4e5317f128f2b3f6742e7ed280c96fde37f52bb4 --- modules/ve/ce/nodes/ve.ce.MWBlockImageNode.js | 1 + 1 file changed, 1 insertion(+) diff --git a/modules/ve/ce/nodes/ve.ce.MWBlockImageNode.js b/modules/ve/ce/nodes/ve.ce.MWBlockImageNode.js index c0f68ee23b..09da7a2f81 100644 --- a/modules/ve/ce/nodes/ve.ce.MWBlockImageNode.js +++ b/modules/ve/ce/nodes/ve.ce.MWBlockImageNode.js @@ -64,6 +64,7 @@ ve.ce.MWBlockImageNode = function VeCeMWBlockImageNode( model, config ) { ) .addClass( 'thumb' ); this.$a.appendTo( this.$thumbInner ); + this.$thumbInner.appendTo( this.$thumb ); } this.$resizable = this.$image; From 25d8d2895ded9c952c708eb5ce9f9724f9b16f87 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Inez=20Korczyn=CC=81ski?= Date: Fri, 21 Jun 2013 12:33:16 -0700 Subject: [PATCH 2/2] Fix incorrectly written CSS that was affecting all table cells on the page instead of cells in mwMetaDialog only Change-Id: If3d01346d7267aec444d573ac83516083a3689bc --- modules/ve/ui/styles/ve.ui.Dialog.css | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/modules/ve/ui/styles/ve.ui.Dialog.css b/modules/ve/ui/styles/ve.ui.Dialog.css index 1cff53d237..61dc138da6 100644 --- a/modules/ve/ui/styles/ve.ui.Dialog.css +++ b/modules/ve/ui/styles/ve.ui.Dialog.css @@ -211,7 +211,8 @@ text-align: left; } -.ve-ui-mwMetaDialog-languages-table th, td { +.ve-ui-mwMetaDialog-languages-table th, +.ve-ui-mwMetaDialog-languages-table td { padding: 0.75em 1em; border-bottom: solid 1px white; }