mirror of
https://github.com/directus/directus.git
synced 2026-01-28 21:08:03 -05:00
Move basemap input higher in sidebar options. Keep map interactive under v-info (#7563)
* Move basemap input higher in sidebar options. Keep map interactive under v-info. * Apply suggestions from code review Co-authored-by: Nicola Krumschmidt <nicola.krumschmidt@freenet.de> Co-authored-by: Rijk van Zanten <rijkvanzanten@me.com> Co-authored-by: Nicola Krumschmidt <nicola.krumschmidt@freenet.de>
This commit is contained in:
@@ -256,6 +256,11 @@ export default defineComponent({
|
||||
background-color: var(--background-page);
|
||||
border-radius: var(--border-radius);
|
||||
box-shadow: var(--card-shadow);
|
||||
pointer-events: none;
|
||||
}
|
||||
|
||||
.v-info > :deep(.v-button) {
|
||||
pointer-events: initial;
|
||||
}
|
||||
|
||||
.footer {
|
||||
|
||||
@@ -1,4 +1,9 @@
|
||||
<template>
|
||||
<div class="field">
|
||||
<div class="type-label">{{ t('layouts.map.basemap') }}</div>
|
||||
<v-select v-model="basemap" :items="basemaps.map((s) => ({ text: s.name, value: s.name }))" />
|
||||
</div>
|
||||
|
||||
<template v-if="geometryFields.length == 0">
|
||||
<div class="field">
|
||||
<v-input type="text" disabled :prefix="'No compatible fields'"></v-input>
|
||||
@@ -14,11 +19,6 @@
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<div class="field">
|
||||
<div class="type-label">{{ t('layouts.map.basemap') }}</div>
|
||||
<v-select v-model="basemap" :items="basemaps.map((s) => ({ text: s.name, value: s.name }))" />
|
||||
</div>
|
||||
|
||||
<div class="field">
|
||||
<v-checkbox
|
||||
v-model="autoLocationFilter"
|
||||
|
||||
Reference in New Issue
Block a user