Skip to content

Commit 501c88d

Browse files
committed
ManifestSummary popover heigh max to 100vh in small viewport
1 parent 72fbc16 commit 501c88d

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

packages/c2pa-wc/src/components/ManifestSummary/ManifestSummary.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,9 @@ export class ManifestSummary extends Configurable(LitElement, defaultConfig) {
7777
css`
7878
#container {
7979
width: var(--cai-manifest-summary-width, 320px);
80+
display: flex;
81+
flex-direction: column;
82+
max-height: calc(100vh);
8083
}
8184
8285
#content-container {
@@ -97,6 +100,8 @@ export class ManifestSummary extends Configurable(LitElement, defaultConfig) {
97100
98101
overflow-y: auto;
99102
overflow-x: hidden;
103+
flex-grow: 1;
104+
flex-shrink: 1;
100105
}
101106
102107
#content-container > *:not(:first-child):not([empty]),

0 commit comments

Comments
 (0)