Skip to content

Commit

Permalink
Merge branch 'MDL-74132' of https://github.com/roland04/moodle
Browse files Browse the repository at this point in the history
  • Loading branch information
sarjona committed Mar 17, 2022
2 parents 27bed0b + 9e329ab commit 1ccea2c
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 1 deletion.
2 changes: 1 addition & 1 deletion reportbuilder/templates/local/dynamictabs/editor.mustache
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@
{{/filterspresent}}
{{/editmode}}
</div>
<div class="mt-2">
<div class="reportbuilder-editor-table-container mt-2">
{{! Table }}
{{{table}}}
</div>
Expand Down
4 changes: 4 additions & 0 deletions theme/boost/scss/moodle/reportbuilder.scss
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,10 @@ $rb-right-sidebar-width: 350px;
@extend .flex-fill;
min-width: 0;
}
// Allow horizontal scroll in editor table.
.reportbuilder-editor-table-container {
overflow-x: auto;
}

/* Custom table headers */
.reportbuilder-table th {
Expand Down
3 changes: 3 additions & 0 deletions theme/boost/style/moodle.css
Original file line number Diff line number Diff line change
Expand Up @@ -21128,6 +21128,9 @@ div.editor_atto_toolbar button .icon {
.reportbuilder-report-container {
min-width: 0; }

.reportbuilder-editor-table-container {
overflow-x: auto; }

/* Custom table headers */
.reportbuilder-table th button[data-action="report-remove-column"] .icon,
.reportbuilder-table th span[data-drag-type="move"] .icon {
Expand Down
3 changes: 3 additions & 0 deletions theme/classic/style/moodle.css
Original file line number Diff line number Diff line change
Expand Up @@ -21074,6 +21074,9 @@ div.editor_atto_toolbar button .icon {
.reportbuilder-report-container {
min-width: 0; }

.reportbuilder-editor-table-container {
overflow-x: auto; }

/* Custom table headers */
.reportbuilder-table th button[data-action="report-remove-column"] .icon,
.reportbuilder-table th span[data-drag-type="move"] .icon {
Expand Down

0 comments on commit 1ccea2c

Please sign in to comment.