Elastic: .compact-table fixes

pull/6724/head
Aleksander Machniak 6 years ago
parent 8b74fd73da
commit 0c419e4dd1

@ -434,6 +434,7 @@ fieldset.image-attachment {
table.compact-table { table.compact-table {
margin: 0; margin: 0;
width: 100%;
*:not(.invalid-feedback) { *:not(.invalid-feedback) {
font-size: inherit; font-size: inherit;

@ -55,6 +55,7 @@ input.smart-upload {
td.rowbuttons { td.rowbuttons {
width: 1%; width: 1%;
white-space: nowrap; white-space: nowrap;
vertical-align: top;
span { span {
display: none; display: none;
@ -92,6 +93,7 @@ input.smart-upload {
td.rowactions { td.rowactions {
width: 1%; width: 1%;
vertical-align: top;
.form-control { .form-control {
width: auto; width: auto;
@ -99,6 +101,8 @@ input.smart-upload {
} }
td.rowtargets { td.rowtargets {
vertical-align: top;
.composite { .composite {
input, textarea, select, .multi-input, .input-group { input, textarea, select, .multi-input, .input-group {
margin-bottom: .5rem; margin-bottom: .5rem;
@ -316,12 +320,6 @@ input.smart-upload {
@media screen and (max-width: @screen-width-bs-phone) { @media screen and (max-width: @screen-width-bs-phone) {
.propform { .propform {
table.compact-table { table.compact-table {
overflow-x: initial;
tbody {
display: block;
}
.rowactions > select, .rowactions > select,
.flexbox > select { .flexbox > select {
width: 100%; width: 100%;
@ -333,8 +331,7 @@ input.smart-upload {
td { td {
width: 100%; width: 100%;
padding-right: 0; padding: .25rem 0 0 0;
padding-left: 0;
&.rowbuttons { &.rowbuttons {
text-align: right; text-align: right;

@ -989,7 +989,7 @@ function rcube_elastic_ui()
}); });
// Make tables pretier // Make tables pretier
$('table:not(.table,.propform,.listing,.ui-datepicker-calendar)', context) $('table:not(.table,.compact-table,.propform,.listing,.ui-datepicker-calendar)', context)
.filter(function() { .filter(function() {
// exclude direct propform children and external content // exclude direct propform children and external content
return !$(this).parent().is('.propform') return !$(this).parent().is('.propform')

Loading…
Cancel
Save