Skip to content

Commit

Permalink
webapp: Correctly center header text
Browse files Browse the repository at this point in the history
  • Loading branch information
nkappler authored and tbnobody committed Jan 18, 2024
1 parent a7479d3 commit 199351c
Showing 1 changed file with 8 additions and 11 deletions.
19 changes: 8 additions & 11 deletions webapp/src/components/NavBar.vue
@@ -1,17 +1,14 @@
<template>
<nav class="navbar navbar-expand-md fixed-top bg-body-tertiary" data-bs-theme="dark">
<div class="container-fluid">
<router-link @click="onClick" class="navbar-brand" to="/">
<span v-if="isXmas" class="text-success">
<BIconTree width="30" height="30" class="d-inline-block align-text-top" />
</span>
<span v-else-if="isEaster" class="text-info">
<BIconEgg width="30" height="30" class="d-inline-block align-text-top" />
</span>
<span v-else class="text-warning">
<BIconSun width="30" height="30" class="d-inline-block align-text-top" />
</span>
<span style="vertical-align: middle;">
<router-link @click="onClick" class="navbar-brand" to="/" style="display: flex; height: 30px; padding: 0;">
<BIconTree v-if="isXmas" width="30" height="30" class="d-inline-block align-text-top text-success" />

<BIconEgg v-else-if="isEaster" width="30" height="30" class="d-inline-block align-text-top text-info" />

<BIconSun v-else width="30" height="30" class="d-inline-block align-text-top text-warning" />

<span style="margin-left: .5rem">
OpenDTU
</span>
</router-link>
Expand Down

0 comments on commit 199351c

Please sign in to comment.