Kaynağa Gözat

TableAjax fix ui bug in cell popover text overflow

Piotr Labudda 10 yıl önce
ebeveyn
işleme
73fe8706db
1 değiştirilmiş dosya ile 2 ekleme ve 1 silme
  1. 2 1
      SE/se-lib/TableAjax.php

+ 2 - 1
SE/se-lib/TableAjax.php

@@ -250,6 +250,7 @@ class TableAjax extends ViewAjax {
 .AjaxTableCont {position:relative; margin:10px 0; width:100%; overflow-x:auto; border:none;}
 .AjaxTable *,
 .AjaxTable.table {white-space:nowrap; width:auto;}
+.AjaxTable .popover * {white-space:normal;}
 .AjaxTable p {margin:0;}
 .AjaxTable td, .AjaxTable th {line-height:18px;}
 .AjaxTable i {margin: 0 0 0 2px;opacity: 0.5;}
@@ -2469,7 +2470,7 @@ class TableAjax extends ViewAjax {
 
 					_popoverCell.data('rowid', e.data.id);
 					_popoverCell.data('col', e.data.col);
-					_popoverCell.html(e.data.value + '<div id="popoverCellContent"></div>');
+					_popoverCell.html(e.data.value + '<div id="popoverCellContent" style="white-space:normal"></div>');
 					if (_data.cols[e.data.col]) {
 						if (_data.cols[e.data.col]._tsRetId > 0) {
 							priv.ajaxLoadTypeSpeciallCell(e.data.id, e.data.col);