fix: window title not perfectly centered

This commit is contained in:
Fabio 2020-08-11 09:11:26 +02:00
parent c89c1ce83c
commit 7651d05b37
1 changed files with 10 additions and 1 deletions

View File

@ -4,7 +4,7 @@
<div class="titlebar-elements">
<img class="titlebar-logo" :src="require('@/images/logo.svg').default">
</div>
<div class="titlebar-elements">
<div class="titlebar-elements titlebar-title">
{{ windowTitle }}
</div>
<div class="titlebar-elements">
@ -123,6 +123,15 @@ export default {
display: flex;
align-items: center;
&.titlebar-title {
position: absolute;
left: 0;
right: 0;
text-align: center;
display: block;
pointer-events: none;
}
.titlebar-logo {
height: $titlebar-height;
padding: 0 0.4rem;