mirror of https://github.com/Fabio286/antares.git
fix: window title not perfectly centered
This commit is contained in:
parent
c89c1ce83c
commit
7651d05b37
|
@ -4,7 +4,7 @@
|
||||||
<div class="titlebar-elements">
|
<div class="titlebar-elements">
|
||||||
<img class="titlebar-logo" :src="require('@/images/logo.svg').default">
|
<img class="titlebar-logo" :src="require('@/images/logo.svg').default">
|
||||||
</div>
|
</div>
|
||||||
<div class="titlebar-elements">
|
<div class="titlebar-elements titlebar-title">
|
||||||
{{ windowTitle }}
|
{{ windowTitle }}
|
||||||
</div>
|
</div>
|
||||||
<div class="titlebar-elements">
|
<div class="titlebar-elements">
|
||||||
|
@ -123,6 +123,15 @@ export default {
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
|
|
||||||
|
&.titlebar-title {
|
||||||
|
position: absolute;
|
||||||
|
left: 0;
|
||||||
|
right: 0;
|
||||||
|
text-align: center;
|
||||||
|
display: block;
|
||||||
|
pointer-events: none;
|
||||||
|
}
|
||||||
|
|
||||||
.titlebar-logo {
|
.titlebar-logo {
|
||||||
height: $titlebar-height;
|
height: $titlebar-height;
|
||||||
padding: 0 0.4rem;
|
padding: 0 0.4rem;
|
||||||
|
|
Loading…
Reference in New Issue