[READ-ONLY] a fast, modern browser for the npm registry
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

fix: prevent modal from taking full width on mobile screen (#1067)

authored by

abeer0 and committed by
GitHub
8a9c90b3 bd4b408e

+1 -1
+1 -1
app/components/Modal.client.vue
··· 43 43 <dialog 44 44 ref="dialogRef" 45 45 closedby="any" 46 - class="w-full bg-bg border border-border rounded-lg shadow-xl max-h-[90vh] overflow-y-auto overscroll-contain m-0 m-auto p-6 text-fg focus-visible:outline focus-visible:outline-accent/70" 46 + class="w-[calc(100%-2rem)] bg-bg border border-border rounded-lg shadow-xl max-h-[90vh] overflow-y-auto overscroll-contain m-0 m-auto p-6 text-fg focus-visible:outline focus-visible:outline-accent/70" 47 47 :aria-labelledby="modalTitleId" 48 48 v-bind="$attrs" 49 49 @transitionend="onDialogTransitionEnd"