Skip to content

Commit

Permalink
Style improvements
Browse files Browse the repository at this point in the history
Make navbar sticky.

Add margin to airlocks.
  • Loading branch information
nicou committed Jun 26, 2024
1 parent 8b7c27c commit 6536f66
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/App.vue
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<template>
<div>
<b-navbar toggleable="sm" variant="light" type="light">
<b-navbar toggleable="sm" variant="light" type="light" sticky>
<b-navbar-toggle target="nav_collapse"></b-navbar-toggle>
<b-navbar-brand to="/">Odysseus admin</b-navbar-brand>
<b-collapse id="nav_collapse" is-nav>
Expand Down
15 changes: 12 additions & 3 deletions src/views/Airlocks.vue
Original file line number Diff line number Diff line change
Expand Up @@ -3,17 +3,26 @@
<b-container fluid class="my-4">
<h1>Airlocks</h1>
</b-container>
<b-container fluid class="my-4">
<b-container fluid class="my-4 airlocks-container">
<b-row>
<b-col class="border"><AirlockControl box-id="airlock_main" /></b-col>
<b-col class="border"
<b-col class="border airlock"><AirlockControl box-id="airlock_main" /></b-col>
<b-col class="border airlock"
><AirlockControl box-id="airlock_hangarbay"
/></b-col>
</b-row>
</b-container>
</div>
</template>

<style scoped lang="scss">
.airlocks-container {
padding: 1rem;
}
.airlock {
margin: 1rem;
}
</style>

<script>
import { mapState } from "vuex";
import AirlockControl from "@/components/AirlockControl.vue";
Expand Down

0 comments on commit 6536f66

Please sign in to comment.