Skip to content

Commit

Permalink
fix(core/reports): make reports responsive
Browse files Browse the repository at this point in the history
  • Loading branch information
robzan8 committed May 17, 2023
1 parent ec3f0a6 commit c96d3d5
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 4 deletions.
9 changes: 9 additions & 0 deletions projects/core/table/src/table.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
ajf-table {
display: block;
width: 100%;
overflow-x: auto;
}

ajf-table table {
min-width: 100%;
}
2 changes: 1 addition & 1 deletion projects/ionic/reports/src/column-widget.scss
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
.ajf-column-container {
flex: 1 1 auto;
width: 100%;
}
2 changes: 1 addition & 1 deletion projects/material/reports/src/column-widget.scss
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
.ajf-column-container {
flex: 1 1 auto;
width: 100%;
}
5 changes: 3 additions & 2 deletions projects/material/reports/src/paginated-table-widget.scss
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,9 @@ table {

.ajf-paginated-table {
width: 100%;
overflow-x: auto;
table {
width: 100%;
min-width: 100%;
}
}

Expand All @@ -22,7 +23,7 @@ table {
font-size: 0.9em;
}
.mat-mdc-select {
width: 50px;
width: 70px;
font-size: 0.9em;
}
}
Expand Down

0 comments on commit c96d3d5

Please sign in to comment.