Improves term cards styling.

This commit is contained in:
mateuswetah 2024-04-02 10:07:12 -03:00
parent c4a9082e35
commit c7df1adb84
5 changed files with 19 additions and 4 deletions

View File

@ -29,6 +29,13 @@
}
}
.term-description {
word-break: break-word;
}
.term-information {
width: 100%;
}
.entries:not([data-layout="grid"]) .ct-image-container img,
.entries:not([data-layout="grid"]) .ct-media-container img {
aspect-ratio: 4/3;

View File

@ -1277,6 +1277,14 @@ body[data-prefix="tainacan-terms-items_archive"] .collection-thumbnail img {
margin-bottom: -0.25rem;
}
.tainacan-taxonomy-terms-list-container .term-description {
word-break: break-word;
}
.tainacan-taxonomy-terms-list-container .term-information {
width: 100%;
}
.tainacan-taxonomy-terms-list-container .entries:not([data-layout="grid"]) .ct-image-container img,
.tainacan-taxonomy-terms-list-container .entries:not([data-layout="grid"]) .ct-media-container img {
aspect-ratio: 4/3;

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long