Spaces:
Running on Zero
Running on Zero
File size: 1,417 Bytes
619344d | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 | .force-hide-container {
margin: 0;
box-shadow: none;
--block-border-width: 0;
background: transparent;
padding: 0;
overflow: visible;
}
.svelte-sfqy0y {
display: flex;
flex-direction: inherit;
flex-wrap: wrap;
gap: 0;
box-shadow: none;
border: 0;
border-radius: 0;
background: transparent;
overflow-y: hidden;
}
.custom-spacing {
padding: 10px;
gap: 20px;
flex-grow: 0 !important;
}
.unequal-height {
align-items: flex-end;
}
.tool{
max-width: 40px;
min-width: 40px !important;
}
/* Center the component and allow it to use the full row width */
.vh-img {
display: grid;
justify-items: center;
}
/* Container should size to the image, but never exceed the row width */
.vh-img .image-container {
inline-size: fit-content !important; /* prefers image’s natural width */
max-inline-size: 100% !important; /* ...but clamps to available width */
margin-inline: auto;
overflow: hidden; /* avoid odd overflow on iOS */
}
/* Image scales by BOTH constraints: height cap and row width */
.vh-img .image-container img {
max-block-size: 700px !important; /* fixed max height cap */
max-inline-size: 100%; /* never wider than container */
inline-size: auto; /* keep aspect ratio */
block-size: auto;
object-fit: contain;
display: block;
}
|