Skip to content

Commit 37b771c

Browse files
committed
Popover fine-tuning
1 parent f31b5ba commit 37b771c

File tree

6 files changed

+8
-8
lines changed

6 files changed

+8
-8
lines changed

src/StacBrowser.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@
7474
<b-popover
7575
v-if="root" id="popover-root" class="popover-large" target="popover-root-btn"
7676
placement="bottom" :title="serviceType" teleport-to="#stac-browser"
77-
click focus hover :boundary-padding="20"
77+
click focus :boundary-padding="10"
7878
>
7979
<RootStats />
8080
</b-popover>

src/components/HrefActions.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,9 @@
2525
</b-button-group>
2626

2727
<b-popover
28-
v-if="auth.length > 1" click focus hover
28+
v-if="auth.length > 1" click focus
2929
:id="`popover-href-${id}`" class="href-auth-methods" :target="`popover-href-${id}-btn`"
30-
:title="$t('authentication.chooseMethod')" teleport-to="#stac-browser" :boundary-padding="20"
30+
:title="$t('authentication.chooseMethod')" teleport-to="#stac-browser" :boundary-padding="10"
3131
>
3232
<b-list-group>
3333
<AuthSchemeItem v-for="(method, i) in auth" :key="i" :method="method" @authenticate="startAuth" />

src/components/LinkListEntry.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<StacLink :id="popoverId" :data="link" :fallbackTitle="fallbackTitle" class="pe-1" />
44
<b-popover
55
:target="popoverId" placement="auto" teleport-to="#stac-browser" class="link-more"
6-
click focus hover :boundary-padding="20"
6+
focus hover :boundary-padding="20"
77
>
88
<Description v-if="link.description" :description="link.description" compact />
99
<section class="link-actions">

src/components/MapView.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
<b-popover
1111
v-if="popover && selection" show manual placement="auto"
1212
:target="selection.target" :teleport-to="container" class="map-popover"
13-
:boundary-padding="20"
13+
:boundary-padding="10"
1414
>
1515
<section class="popover-items">
1616
<Items v-if="selection && selection.type === 'items'" :stac="stac" :items="selection.items" />

src/components/StacSource.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
<b-popover
1818
v-if="stacUrl" id="popover-link" class="popover-large" target="popover-link-btn"
1919
placement="bottom" :title="$t('source.title')" teleport-to="#stac-browser"
20-
click focus hover :boundary-padding="20"
20+
click focus :boundary-padding="10"
2121
>
2222
<template v-if="stac">
2323
<b-row v-if="stacId" class="stac-id">
@@ -44,7 +44,7 @@
4444
<b-popover
4545
id="popover-share" class="popover-large" target="popover-share-btn"
4646
placement="bottom" :title="$t('source.share.title')" teleport-to="#stac-browser"
47-
click focus hover :boundary-padding="20"
47+
click focus :boundary-padding="10"
4848
>
4949
<Url id="browserUrl" :url="browserUrl()" :label="$t('source.share.sharePageWithOthers')" :open="false" />
5050
<template v-if="enableSocialSharing">

src/components/maps/LayerControl.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<button v-if="id" :id="id"><b-icon-layers-fill /></button>
44
<b-popover
55
v-if="id" click placement="top" @show="update"
6-
:target="id" teleport-to="#stac-browser" :boundary-padding="20"
6+
:target="id" teleport-to="#stac-browser" :boundary-padding="10"
77
>
88
<div class="layercontrol">
99
<section>

0 commit comments

Comments
 (0)