Merge branch 'main' into dependabot/npm_and_yarn/eslint-plugin-jsdoc-48.2.0
[e-mobility-charging-stations-simulator.git] / ui / web / src / App.vue
index 87c7aa45293f9c1282cde9c51cfd38a0576d17bc..325c6bd8675d0ccc564da9b40272bff2467a7e0d 100644 (file)
@@ -1,7 +1,14 @@
 <template>
   <router-view />
+  <Container v-show="$route.path !== '/'" id="action-container">
+    <router-view name="action" />
+  </Container>
 </template>
 
+<script setup lang="ts">
+import Container from '@/components/Container.vue'
+</script>
+
 <style>
 #app {
   height: fit-content;
   font-family: Avenir, Helvetica, Arial, sans-serif;
   -webkit-font-smoothing: antialiased;
   -moz-osx-font-smoothing: grayscale;
-  color: #2c3e50;
+  display: flex;
+  flex-direction: row;
+  color: black;
+  background-color: white;
+}
+
+#action-container {
+  min-width: max-content;
+  display: flex;
+  flex-direction: column;
+  align-items: center;
+  justify-content: center;
+  margin: 0.1%;
+  padding: 0.1%;
+  border: solid black;
 }
 
 body {
-  height: fit-content;
-  width: fit-content;
-  margin: 0.05%;
-  padding: 0.05%;
-  background-color: rgb(233, 227, 227);
+  margin: 0.005%;
+  padding: 0.005%;
 }
 </style>