Toolbar: use CSS instead of valign on toolbar table

Bug: 39726
Change-Id: I31f1e685052f8f9eef9061564a75fd022c95281a
This commit is contained in:
Derk-Jan Hartman 2014-04-07 17:39:48 +02:00
parent 51cab7bef6
commit eb74ecddcd
2 changed files with 4 additions and 1 deletions

View file

@ -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";

View file

@ -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>';