repositories
/
e-mobility-charging-stations-simulator.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix(ui): remove WS event listeners at main page unmount
[e-mobility-charging-stations-simulator.git]
/
ui
/
web
/
src
/
App.vue
diff --git
a/ui/web/src/App.vue
b/ui/web/src/App.vue
index 1f2dcf85b10dfd101d9b5647150c6861c164da5c..471a240ab579d7dbb3908368e12440e22c6c8a67 100644
(file)
--- a/
ui/web/src/App.vue
+++ b/
ui/web/src/App.vue
@@
-1,6
+1,6
@@
<template>
<router-view />
<template>
<router-view />
- <Container
id="action
">
+ <Container
v-show="$route.path !== '/'" id="action-container
">
<router-view name="action" />
</Container>
</template>
<router-view name="action" />
</Container>
</template>
@@
-12,8
+12,8
@@
import Container from '@/components/Container.vue'
<style>
#app {
height: fit-content;
<style>
#app {
height: fit-content;
- width:
fit-content
;
- font-family:
Avenir, Helvetica, Arial
, sans-serif;
+ width:
100%
;
+ font-family:
Tahoma, 'Arial Narrow', Arial, Helvetica
, sans-serif;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
display: flex;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
display: flex;
@@
-22,19
+22,20
@@
import Container from '@/components/Container.vue'
background-color: white;
}
background-color: white;
}
-#action {
+#action
-container
{
min-width: max-content;
display: flex;
flex-direction: column;
min-width: max-content;
display: flex;
flex-direction: column;
- align-items: center;
justify-content: center;
justify-content: center;
- margin: 0.1%;
- padding: 0.1%;
+ align-items: center;
+ text-align: center;
+ margin: 0.4%;
+ padding: 0.4%;
border: solid black;
}
body {
border: solid black;
}
body {
- margin: 0.00
5
%;
- padding: 0.00
5
%;
+ margin: 0.00
8
%;
+ padding: 0.00
8
%;
}
</style>
}
</style>