Commit 4be85dca authored by Piotr Gawron's avatar Piotr Gawron

Merge branch '633-table-header' into 'devel_12.1.x'

word wrapping for Firefox fixed; word wrapping is disabled for xolumns that don't require it

See merge request !571
parents d7020eae b5898d2a
Pipeline #8146 passed with stage
in 1 minute and 54 seconds
...@@ -847,8 +847,15 @@ https://www.w3schools.com/css/tryit.asp?filename=trycss_tooltip ...@@ -847,8 +847,15 @@ https://www.w3schools.com/css/tryit.asp?filename=trycss_tooltip
overflow-x: hidden; overflow-x: hidden;
} }
.minerva-overlay-panel td, .minerva-overlay-panel th { .minerva-overlay-panel td.word_wrap, .minerva-overlay-panel th.word_wrap {
word-break: break-word; /* For Firefox */
white-space: pre-wrap;
word-break: break-all;
/* For Chrome */
word-wrap: break-word;
min-width: 50px;
} }
.pileup-root .controls input[type="text"] { .pileup-root .controls input[type="text"] {
......
...@@ -582,7 +582,8 @@ OverlayPanel.prototype.init = function () { ...@@ -582,7 +582,8 @@ OverlayPanel.prototype.init = function () {
type: 'num', type: 'num',
className: "no_padding" className: "no_padding"
}, { }, {
title: 'Name' title: 'Name',
className: "word_wrap"
}, { }, {
title: 'View', title: 'View',
orderable: false, orderable: false,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment