Skip to content

Commit

Permalink
Pending changes exported from your codespace
Browse files Browse the repository at this point in the history
  • Loading branch information
adshrest committed Dec 14, 2023
1 parent d77f24c commit df22bf9
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
6 changes: 6 additions & 0 deletions css/deck.css
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,9 @@
background-image: url(../img/deck.svg);
filter: var(--background-invert-if-dark);
}

/* Add horizontal scrollbar for tables in card descriptions */
.card-description table {
width: 100%; /* Ensure the table takes 100% width of the container */
overflow-x: auto; /* Enable horizontal scrolling */
}
6 changes: 6 additions & 0 deletions src/components/cards/CardItem.vue
Original file line number Diff line number Diff line change
Expand Up @@ -434,6 +434,12 @@ export default {
}
}

/* Add horizontal scrollbar for tables in card descriptions */
.description-container table {
width: 100%;

Check failure on line 439 in src/components/cards/CardItem.vue

View workflow job for this annotation

GitHub Actions / NPM lint

Mixed spaces and tabs
overflow-x: auto;

Check failure on line 440 in src/components/cards/CardItem.vue

View workflow job for this annotation

GitHub Actions / NPM lint

Mixed spaces and tabs
}

Check failure on line 441 in src/components/cards/CardItem.vue

View workflow job for this annotation

GitHub Actions / NPM lint

Mixed spaces and tabs

@media (prefers-color-scheme: dark) {
.card {
@include dark-card;
Expand Down

0 comments on commit df22bf9

Please sign in to comment.