Skip to content

Commit

Permalink
Merge pull request #191 from isubit/development
Browse files Browse the repository at this point in the history
Development 1.7.4
  • Loading branch information
sacarney committed Jan 12, 2022
2 parents cdbfe7a + 7fdfb79 commit eb79e8e
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 7 deletions.
2 changes: 1 addition & 1 deletion css/base.css
Original file line number Diff line number Diff line change
Expand Up @@ -265,7 +265,7 @@ img {
height: auto;
}
table img {
max-width: none; /* Prevents images from shrinking in tables */
max-width: none !important; /* Prevents images from shrinking in tables */
}
.caption-img figcaption { /* Class from Drupal. */
/* Same as table caption. */
Expand Down
14 changes: 9 additions & 5 deletions css/isu-responsivetables.css
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,10 @@ article table::-webkit-scrollbar-track {
word-break: break-word;
}

.isu-responsive-table td {
width: 100% !important; /* In case a width is manually set. */
}

/* --- No headers (none) --- */
.isu-responsive-table.isu-table-none {
display: table;
Expand All @@ -67,9 +71,9 @@ article table::-webkit-scrollbar-track {
border-bottom: 3px solid #bbbbbb;
}
.isu-responsive-table.isu-table-none td {
border-bottom: 1px solid #dddddd;
border-right: 1px solid #dddddd;
display: block;
border-bottom: 1px solid #dddddd;
border-right: 1px solid #dddddd;
display: block;
}
.isu-responsive-table.isu-table-none td:last-of-type {
border-bottom: none;
Expand All @@ -82,8 +86,8 @@ article table::-webkit-scrollbar-track {
display: none;
}
.isu-responsive-table.isu-table-row tr {
display: block;
border-bottom: 3px solid #bbbbbb;
display: block;
border-bottom: 3px solid #bbbbbb;
}
.isu-responsive-table.isu-table-row tr:first-of-type {
border-bottom: 0;
Expand Down
2 changes: 1 addition & 1 deletion iastate_theme.info.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ description: Drupal 9 theme for Iowa State University websites
type: theme
core: 8.x
core_version_requirement: ^8 || ^9
version: "1.7.3"
version: "1.7.4"
base theme: stable
libraries:
- iastate_theme/global-css
Expand Down

0 comments on commit eb79e8e

Please sign in to comment.