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
refactor(ui): put all main actions to the same bar
[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 203fb47f69108690234b283569919e663f491012..48076e62aea7892da94db200784550e3ac8b6ea8 100644
(file)
--- a/
ui/web/src/App.vue
+++ b/
ui/web/src/App.vue
@@
-1,7
+1,14
@@
<template>
<router-view />
<template>
<router-view />
+ <Container v-show="$route.path !== '/'" id="action-container">
+ <router-view name="action" />
+ </Container>
</template>
</template>
+<script setup lang="ts">
+import Container from '@/components/Container.vue'
+</script>
+
<style>
#app {
height: fit-content;
<style>
#app {
height: fit-content;
@@
-9,14
+16,25
@@
font-family: Avenir, Helvetica, Arial, sans-serif;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
font-family: Avenir, Helvetica, Arial, sans-serif;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
+ display: flex;
+ flex-direction: row;
color: black;
background-color: white;
}
color: black;
background-color: white;
}
+#action-container {
+ min-width: max-content;
+ display: flex;
+ flex-direction: column;
+ justify-content: center;
+ align-items: center;
+ margin: 0.1%;
+ padding: 0.1%;
+ border: solid black;
+}
+
body {
body {
- height: fit-content;
- width: fit-content;
- margin: 0.001%;
- padding: 0.001%;
+ margin: 0.005%;
+ padding: 0.005%;
}
</style>
}
</style>