@@ -238,20 +224,16 @@
{#if viewlet && viewlet.component && viewlet.display !== 'inline'}
-
- {#if typeof viewlet.component === 'string'}
-
- {:else}
-
- {/if}
+
+
+ {#if typeof viewlet.component === 'string'}
+
+ {:else}
+
+ {/if}
+
- {#if typeof outterBtn !== 'undefined' && !edit}
-
-
-
- {/if}
{/if}
-
{/if}
@@ -328,46 +310,7 @@
.content {
flex-shrink: 0;
- overflow: hidden;
margin-top: .5rem;
- height: max-content;
- max-height: 15rem;
-
- &.full { max-height: max-content; }
- &.mask { mask: linear-gradient(to top, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 1) 75%); }
- }
-
- .showMore {
- position: absolute;
- left: 0;
- right: 0;
- bottom: 0;
- margin: 0 auto;
- padding: .5rem 1rem;
- width: fit-content;
-
- font-size: .75rem;
- color: var(--theme-caption-color);
- background: var(--theme-card-bg);
- border: .5px solid var(--theme-card-divider);
- box-shadow: 0px 8px 15px rgba(0, 0, 0, .1);
- backdrop-filter: blur(120px);
- border-radius: 2.5rem;
- cursor: pointer;
-
- opacity: .3;
- transform: scale(.9);
- transition: opacity .1s ease-in-out, transform .1s ease-in-out;
- &:hover {
- opacity: 1;
- transform: scale(1);
- }
- &:active {
- opacity: .9;
- transform: scale(.95);
- }
-
- &.outter { bottom: -1.5rem; }
}
.emphasized {