Skip to content

Commit

Permalink
✨ feat(table.scss): Add table-container class for overflowing tables …
Browse files Browse the repository at this point in the history
…with many columns
  • Loading branch information
Spiderpig86 committed Dec 27, 2021
1 parent 64206ef commit f0249ed
Show file tree
Hide file tree
Showing 6 changed files with 20 additions and 7 deletions.
6 changes: 6 additions & 0 deletions dist/cirrus-core.css
Expand Up @@ -11954,6 +11954,12 @@ ul .divider::after {
}
}
/* TABLE */
.table-container {
overflow: auto;
overflow-y: hidden;
max-width: 100%;
}

.table {
margin-bottom: 1.5rem;
width: 100%;
Expand Down
2 changes: 1 addition & 1 deletion dist/cirrus-core.min.css

Large diffs are not rendered by default.

6 changes: 6 additions & 0 deletions dist/cirrus.css
Expand Up @@ -11955,6 +11955,12 @@ ul .divider::after {
}
}
/* TABLE */
.table-container {
overflow: auto;
overflow-y: hidden;
max-width: 100%;
}

.table {
margin-bottom: 1.5rem;
width: 100%;
Expand Down
2 changes: 1 addition & 1 deletion dist/cirrus.min.css

Large diffs are not rendered by default.

6 changes: 6 additions & 0 deletions src/components/table.scss
Expand Up @@ -5,6 +5,12 @@ $generate-utility: should-generate-classes($TABLE);
@if $generate-utility {
/* TABLE */

.table-container {
overflow: auto;
overflow-y: hidden;
max-width: 100%;
}

.table {
margin-bottom: 1.5rem;
width: 100%;
Expand Down
5 changes: 0 additions & 5 deletions src/main.scss
Expand Up @@ -25,11 +25,6 @@
// .src(['src/main.scss'])
// .pipe(sass.sync().on('error', function (err) {
// sass.logError.call(this, err);

// // Fail job if in CI
// if (environment.isCi) {
// throw err;
// }
// }))
// .pipe($.concat('cirrus.css'))
// .pipe($.header(head))
Expand Down

0 comments on commit f0249ed

Please sign in to comment.