mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/WikiEditor
synced 2024-11-12 09:57:16 +00:00
Toolbar: use CSS instead of valign on toolbar table
Bug: 39726 Change-Id: I31f1e685052f8f9eef9061564a75fd022c95281a
This commit is contained in:
parent
51cab7bef6
commit
eb74ecddcd
|
@ -239,6 +239,9 @@
|
|||
padding: 5px;
|
||||
margin: 0;
|
||||
}
|
||||
.wikiEditor-ui-toolbar .section-help .page-table .cell {
|
||||
vertical-align: top;
|
||||
}
|
||||
.wikiEditor-ui-toolbar .section-help .page-table td.cell-syntax,
|
||||
.wikiEditor-ui-toolbar .section-help .page-table td.syntax {
|
||||
font-family: monospace, "Courier New";
|
||||
|
|
|
@ -517,7 +517,7 @@ fn: {
|
|||
buildRow : function( context, row ) {
|
||||
var html = '<tr>';
|
||||
for ( var cell in row ) {
|
||||
html += '<td class="cell cell-' + cell + '" valign="top"><span>' +
|
||||
html += '<td class="cell cell-' + cell + '"><span>' +
|
||||
$.wikiEditor.autoMsg( row[cell], ['html', 'text'] ) + '</span></td>';
|
||||
}
|
||||
return html + '</tr>';
|
||||
|
|
Loading…
Reference in a new issue