Size brief information cards to content

This commit is contained in:
KrivovDE
2026-09-09 16:10:51 +03:00
parent 22f5275d38
commit 623be81ff2

View File

@@ -4402,6 +4402,23 @@ button.saturn-flow-node-source:hover,button.saturn-flow-node-source:focus-visibl
overflow:visible; overflow:visible;
} }
} }
/* Высота текстовых блоков краткой карточки зависит от содержимого. */
@media(min-width:64.0625rem){
body.organization-view:not(.expanded) #content>#legal,
body.organization-view:not(.expanded) #content>#about{
align-self:start;
height:auto;
}
body.organization-view:not(.expanded) #legal .legal-short,
body.organization-view:not(.expanded) #about .summary{
display:block;
height:auto;
max-height:none;
overflow:visible;
}
}
@media(max-width:48rem){ @media(max-width:48rem){
.source-details-list>div{grid-template-columns:1fr;gap:.25rem} .source-details-list>div{grid-template-columns:1fr;gap:.25rem}
} }