Skip to content

Commit

Permalink
☀ projected laravel-site from 098eb89
Browse files Browse the repository at this point in the history
Source-holobranch: laravel-site
Source-commit: 8f582ec
Source: 098eb89
  • Loading branch information
holly-g committed Apr 14, 2021
2 parents 8f582ec + 098eb89 commit b988df0
Show file tree
Hide file tree
Showing 5 changed files with 17 additions and 7 deletions.
2 changes: 1 addition & 1 deletion public/js/app.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion public/js/app.js.map

Large diffs are not rendered by default.

9 changes: 6 additions & 3 deletions resources/js/Shared/LPBottomSheet.vue
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<template>
<div class="lp-sheet">
<v-card>
<div class="lp-sheet d-flex">
<v-card class="d-flex flex-column flex-grow-1">
<v-btn
block
plain
Expand All @@ -12,6 +12,7 @@
<v-divider />

<v-expansion-panels
style="flex: 1 1 auto; overflow: auto"
flat
tile
:value="isExpanded ? 0 : false"
Expand Down Expand Up @@ -73,8 +74,10 @@ export default {
<style lang="scss" scoped>
.lp-sheet {
bottom: 0;
max-height: 100%;
max-width: 100%;
position: absolute;
width: 100%;
width: 425px;
z-index: 2;
}
Expand Down
2 changes: 1 addition & 1 deletion resources/js/Shared/Layouts/Layout.vue
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
</v-btn>
</v-bottom-navigation>

<v-main>
<v-main style="overflow: hidden">
<slot />
</v-main>
</v-app>
Expand Down
9 changes: 8 additions & 1 deletion resources/js/Shared/Layouts/MapSheetLayout.vue
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
@source-data-loaded="sourceDataLoaded"
/>
<parcel-popup
v-show="isPopupVisible"
ref="parcelpopup"
:showed="true"
>
<parcel-info
ref="parcelinfo"
Expand Down Expand Up @@ -36,6 +36,12 @@ export default {
},
layout: Layout,
data() {
return {
isPopupVisible: false,
};
},
mounted: () => {
},
methods: {
Expand Down Expand Up @@ -79,6 +85,7 @@ export default {
this.$refs.parcelpopup.open = false;
this.$refs.mapboxmap.highlightClear();
} else {
this.isPopupVisible = true;
this.$refs.parcelpopup.setMapboxMap(this.$refs.mapboxmap.map);
this.$refs.parcelpopup.setCoords(event.coords);
this.$refs.parcelinfo.fetchParcel(event.properties.parcel_id);
Expand Down

0 comments on commit b988df0

Please sign in to comment.