refactor(ui): refine action container styling
[e-mobility-charging-stations-simulator.git] / ui / web / src / App.vue
index b3fc6d1c4c313122a54143f3d42f3d08ecbd842b..aee9c5d0ef3a2aca9cbc412da5e359668236eadd 100644 (file)
@@ -1,21 +1,40 @@
 <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;
-  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;
+  flex-direction: row;
   color: black;
   background-color: white;
 }
 
+#action-container {
+  min-width: max-content;
+  display: flex;
+  flex-direction: column;
+  justify-content: center;
+  align-items: center;
+  text-align: center;
+  margin: 0.1%;
+  padding: 0.1%;
+  border: solid black;
+}
+
 body {
-  height: fit-content;
-  width: fit-content;
   margin: 0.005%;
   padding: 0.005%;
 }