diff --git a/.gitignore b/.gitignore
index dc56c67..fe28d4d 100644
--- a/.gitignore
+++ b/.gitignore
@@ -3,4 +3,5 @@ bin/
obj/
.vscode/
node_modules/
-*.csproj.user
\ No newline at end of file
+*.csproj.user
+.idea
\ No newline at end of file
diff --git a/PointCloudWeb.Web/src/components/ScanItem.vue b/PointCloudWeb.Web/src/components/ScanItem.vue
index f6f1269..31de4e2 100644
--- a/PointCloudWeb.Web/src/components/ScanItem.vue
+++ b/PointCloudWeb.Web/src/components/ScanItem.vue
@@ -14,16 +14,16 @@
@@ -54,7 +54,7 @@ export default {
this.isCollapsed = !this.isCollapsed;
if (this.isCollapsed) {
- this.$refs.settings.style.height = 0;
+ this.$refs.settings.style.height = "0";
} else {
this.editPcName = this.item.name;
this.$refs.settings.style.height =
@@ -76,11 +76,11 @@ export default {
});
},
outerHeight(el) {
- var width = el.offsetHeight;
+ let height = el.offsetHeight;
const style = getComputedStyle(el);
- width += parseInt(style.marginTop) + parseInt(style.marginTop);
- return width;
+ height += parseInt(style.marginTop) + parseInt(style.marginTop);
+ return height;
},
},
computed: {
@@ -100,8 +100,7 @@ export default {
.caption {
display: inline-block;
- margin: 0px;
- margin-left: 5px;
+ margin: 0 0 0 5px;
font-size: 0.8em;
cursor: pointer;
user-select: none;
@@ -114,14 +113,10 @@ export default {
.button-text {
display: inline-block;
- margin: 0px;
+ margin: 0;
}
#settings {
- -moz-transition: height 0.1s;
- -ms-transition: height 0.1s;
- -o-transition: height 0.1s;
- -webkit-transition: height 0.1s;
transition: height 0.1s;
height: 0;
overflow: hidden;
diff --git a/PointCloudWeb.Web/src/main.js b/PointCloudWeb.Web/src/main.js
index 209b477..3bf5621 100644
--- a/PointCloudWeb.Web/src/main.js
+++ b/PointCloudWeb.Web/src/main.js
@@ -11,9 +11,8 @@ library.add(faEdit, faEye, faEyeSlash, faTrash, faTimes)
//Vue.config.productionTip = false
-const app = createApp(App)
+createApp(App)
.use(router)
.use(store)
- .component('font-awesome-icon', FontAwesomeIcon);
-
-app.mount('#app')
+ .component('font-awesome-icon', FontAwesomeIcon)
+ .mount('#app');
diff --git a/PointCloudWeb.Web/src/views/Map.vue b/PointCloudWeb.Web/src/views/Map.vue
index c2dfa50..5bb8344 100644
--- a/PointCloudWeb.Web/src/views/Map.vue
+++ b/PointCloudWeb.Web/src/views/Map.vue
@@ -39,7 +39,7 @@ export default {
}
ul {
- padding-left: 0px;
+ padding-left: 0;
}
li {
@@ -49,31 +49,17 @@ li {
p {
display: inline-block;
- margin: 0px;
- margin-left: 10px;
+ margin: 0 0 0 10px;
}
h3 {
- margin: 0px;
+ margin: 0;
}
a {
text-decoration: none;
}
-button {
- display: inline-block;
- border-top: 0px;
- border-bottom: 0px;
- border-left: 0px;
- border-right: 0px;
-
- background: none;
- cursor: pointer;
- color: grey;
- font-size: inherit;
-}
-
#map-settings {
grid-area: right;
border-left: 1px solid black;
@@ -96,7 +82,7 @@ button {
height: calc(
100vh - 2em - 20px - 1px
); /*viewport height - height of navbar-button - padding - borderline*/
- grid-gap: 0px;
- padding: 0px;
+ grid-gap: 0;
+ padding: 0;
}
\ No newline at end of file