Add window title to title bar

pull/9421/head
MrWillCom 2022-04-12 21:57:37 +08:00 committed by Aitor Gamarra
parent 48de4a5571
commit ecda94a394
2 changed files with 25 additions and 6 deletions

View File

@ -6,6 +6,14 @@
[]
[:div.cp__win32-title-bar#win32-title-bar
{}
[:div.logo
[:div.left-side
{}
(svg/logo)]])
[:div.logo
{}
(svg/logo)]
[:div.title
{}
"Logseq"]]
[:div.right-side
{}
[]]])

View File

@ -6,13 +6,24 @@
top: 0;
height: var(--ls-win32-title-bar-height);
display: flex;
justify-content: space-between;
user-select: none;
> .logo {
width: 50px;
height: var(--ls-win32-title-bar-height);
> .left-side {
display: flex;
align-items: flex-end;
justify-content: center;
> .logo {
width: 50px;
height: var(--ls-win32-title-bar-height);
display: flex;
align-items: flex-end;
justify-content: center;
}
> .title {
font-size: 12px;
}
}
}