line-clamp

This commit is contained in:
Adria Navarro 2024-09-02 15:55:58 +02:00
parent 86ea50a8d6
commit d1c1e467a7
1 changed files with 8 additions and 1 deletions

View File

@ -548,7 +548,7 @@
.relationship-fields {
margin: var(--spacing-m) var(--spacing-l);
display: grid;
grid-template-columns: minmax(auto, 75%) minmax(auto, 25%);
grid-template-columns: minmax(auto, 70%) minmax(auto, 30%);
grid-row-gap: var(--spacing-m);
grid-column-gap: var(--cell-spacing);
}
@ -558,4 +558,11 @@
color: var(--spectrum-global-color-gray-600);
font-size: var(--font-size-xs);
}
.relationship-field-value {
overflow: hidden;
display: -webkit-box;
-webkit-box-orient: vertical;
-webkit-line-clamp: 3;
line-clamp: 3;
}
</style>