mirror of
https://github.com/directus/directus.git
synced 2026-02-15 14:05:13 -05:00
Fix svg overflow (#4719)
* fix svg overflow * fix max height on svg * Fix padding in card preview Co-authored-by: rijkvanzanten <rijkvanzanten@me.com>
This commit is contained in:
@@ -139,5 +139,10 @@ audio {
|
||||
padding: 64px;
|
||||
background-color: var(--background-normal);
|
||||
border-radius: var(--border-radius);
|
||||
|
||||
&.max-size img {
|
||||
// Max height - padding * 2
|
||||
max-height: calc(75vh - 128px);
|
||||
}
|
||||
}
|
||||
</style>
|
||||
|
||||
Reference in New Issue
Block a user