Skip to content

Commit 7f7d375

Browse files
Merge pull request #1374 from ItzNotABug/hide-modal-on-click
Fix: Modal Visibility on Mobile
2 parents 4fc6eca + 32b4e20 commit 7f7d375

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/lib/components/bottomModalAlert.svelte

+3-1
Original file line numberDiff line numberDiff line change
@@ -276,7 +276,8 @@
276276
project: $project
277277
})}
278278
external={!!currentModalAlert.cta.external}
279-
fullWidthMobile>
279+
fullWidthMobile
280+
on:click={() => (openModalOnMobile = false)}>
280281
{shouldShowUpgrade
281282
? 'Upgrade plan'
282283
: currentModalAlert.cta.text}
@@ -288,6 +289,7 @@
288289
class="button"
289290
external
290291
fullWidthMobile
292+
on:click={() => (openModalOnMobile = false)}
291293
href={currentModalAlert.learnMore.link({
292294
organization: $organization,
293295
project: $project

0 commit comments

Comments
 (0)